Method OnOcrCompleted
- Namespace
- LMKit.Extraction.Ocr
- Assembly
- LM-Kit.NET.dll
OnOcrCompleted(OcrCompletedEventArgs)
Raises the OcrCompleted event (if any subscribers exist).
protected virtual void OnOcrCompleted(OcrCompletedEventArgs e)
Parameters
eOcrCompletedEventArgsThe OcrCompletedEventArgs containing parameters, result (if any), and exception (if any).
Examples
protected override void OnOcrCompleted(OcrCompletedEventArgs e)
{
if (e.Exception != null)
Console.WriteLine($"Page {e.PageIndex} failed: {e.Exception.Message}");
base.OnOcrCompleted(e);
}