GdPicture.NET.14
GdPicture14 Namespace / GdPicturePDF Class / OcrPagesDone Event
Example





OcrPagesDone Event (GdPicturePDF)
This event is raised after the whole OCR process, invoked by the GdPicturePDF.OcrPage or the GdPicturePDF.OcrPages methods, has been terminated.

Please check the corresponded GdPicturePDF.OcrPagesDoneEventHandler for given parameters.

Syntax
'Declaration
 
Public Event OcrPagesDone As GdPicturePDF.OcrPagesDoneEventHandler
 
Remarks
The event is always triggered within the caller thread of the GdPicturePDF.OcrPages method.
Example
The PDF to PDF-OCR sample included in the PDF examples section within the GdPicture.NET Reference Guide demonstrates the usage of this event.
'Add the event.
WithEvents gdpicturePDF As GdPicture14.GdPicturePDF
gdpicturePDF = New GdPicturePDF()
AddHandler gdpicturePDF.OcrPagesDone, AddressOf OcrPagesDone
            
'Define the event.
Sub OcrPagesDone(status As GdPictureStatus) Handles gdpicturePDF.OcrPagesDone
    'Do your stuff here.
End Sub
See Also