Specifies the identifier of the GdPicture Image into which the OCR must be performed.
A PdfOcrOptions instance specifying the options requested to the OCR engine.
A member of the GdPictureStatus enumeration that must be returned by the event subscriber.
A string specifying the encoding format of the serialized OCR result returned by the event subscriber. Please check the reference guide (Programming / OCR) to obtain the possible encoding list and models into which the data must be serialized.
The ocr result, as string, encoded in the format specified by the ResultEncodingParameter.





In This Topic
GdPicture14 Namespace / GdPicturePDF.ExternalOcrPageRequestEventHandler Delegate

GdPicturePDF.ExternalOcrPageRequestEventHandler Delegate

In This Topic
This event is triggered when OCR is requested to an external engine.
Syntax
'Declaration
 
<GuidAttribute("8B93F907-B23F-404E-A37C-243865E928AB")>
Public Delegate Sub GdPicturePDF.ExternalOcrPageRequestEventHandler( _
   ByVal ImageID As Integer, _
   ByVal PdfOcrOptions As GdPicturePDF.PdfOcrOptions, _
   ByRef Status As GdPictureStatus, _
   ByRef ResultEncoding As String, _
   ByRef OcrResult As String _
) 
[Guid("8B93F907-B23F-404E-A37C-243865E928AB")]
public delegate void GdPicturePDF.ExternalOcrPageRequestEventHandler( 
   int ImageID,
   GdPicturePDF.PdfOcrOptions PdfOcrOptions,
   out GdPictureStatus Status,
   out string ResultEncoding,
   out string OcrResult
)
public delegate GdPicturePDF.ExternalOcrPageRequestEventHandler( 
    ImageID: Integer;
    PdfOcrOptions: GdPicturePDF.PdfOcrOptions;
   Out  Status: GdPictureStatus;
   Out  ResultEncoding: String;
   Out  OcrResult: String
);
GuidAttribute("8B93F907-B23F-404E-A37C-243865E928AB")
public delegate GdPicturePDF.ExternalOcrPageRequestEventHandler( 
   ImageID : int,
   PdfOcrOptions : GdPicturePDF.PdfOcrOptions,
   Status : GdPictureStatus,
   ResultEncoding : String,
   OcrResult : String
)
[Guid("8B93F907-B23F-404E-A37C-243865E928AB")]
public: __gc __delegate void GdPicturePDF.ExternalOcrPageRequestEventHandler( 
   int ImageID,
   GdPicturePDF.PdfOcrOptions* PdfOcrOptions,
   [PARAMFLAG::Out] GdPictureStatus Status,
   [PARAMFLAG::Out] string* ResultEncoding,
   [PARAMFLAG::Out] string* OcrResult
)
[Guid("8B93F907-B23F-404E-A37C-243865E928AB")]
public delegate void GdPicturePDF.ExternalOcrPageRequestEventHandler( 
   int ImageID,
   GdPicturePDF.PdfOcrOptions^ PdfOcrOptions,
   [Out] GdPictureStatus Status,
   [Out] String^ ResultEncoding,
   [Out] String^ OcrResult
)

Parameters

ImageID
Specifies the identifier of the GdPicture Image into which the OCR must be performed.
PdfOcrOptions
A PdfOcrOptions instance specifying the options requested to the OCR engine.
Status
A member of the GdPictureStatus enumeration that must be returned by the event subscriber.
ResultEncoding
A string specifying the encoding format of the serialized OCR result returned by the event subscriber. Please check the reference guide (Programming / OCR) to obtain the possible encoding list and models into which the data must be serialized.
OcrResult
The ocr result, as string, encoded in the format specified by the ResultEncodingParameter.
Remarks
Use the SetOverrideOcrEngine() method to specify that an external OCR engine must be used.
See Also