GdPicturePDF.ExternalOcrPageRequestEventHandler Delegate
This event is triggered when OCR is requested to an external engine.
[Guid("8B93F907-B23F-404E-A37C-243865E928AB")]
public: __gc __delegate void GdPicturePDF.ExternalOcrPageRequestEventHandler(
int ,
GdPicturePDF.PdfOcrOptions* ,
[PARAMFLAG::Out] GdPictureStatus ,
[PARAMFLAG::Out] string* ,
[PARAMFLAG::Out] string*
)
'Declaration
<GuidAttribute("8B93F907-B23F-404E-A37C-243865E928AB")>
Public Delegate Sub GdPicturePDF.ExternalOcrPageRequestEventHandler( _
ByVal As Integer, _
ByVal As GdPicturePDF.PdfOcrOptions, _
ByRef As GdPictureStatus, _
ByRef As String, _
ByRef As String _
)
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.