Table of Contents

Method OnOcrStarting

Namespace
LMKit.Extraction.Ocr
Assembly
LM-Kit.NET.dll

OnOcrStarting(OcrStartingEventArgs)

Raises the OcrStarting event (if any subscribers exist).

protected virtual void OnOcrStarting(OcrStartingEventArgs e)

Parameters

e OcrStartingEventArgs

The OcrStartingEventArgs containing the attachment and cancel flag.

Examples

protected override void OnOcrStarting(OcrStartingEventArgs e)
{
    Console.WriteLine($"Processing page {e.PageIndex}...");
    base.OnOcrStarting(e);
}
Share