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.
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
//Add the event.
GdPicturePDF gdpicturePDF = new GdPicturePDF();
gdpicturePDF.OcrPagesDone += OcrPagesDone;
//Define the event.
void OcrPagesDone(GdPictureStatus status)
{
//Do your stuff here.
}