Property Attachment
- Namespace
- LMKit.Extraction.Ocr
- Assembly
- LM-Kit.NET.dll
Attachment
Gets the optional Attachment associated with the image data. This can be used to carry additional metadata (e.g., file name, source ID) alongside the image being processed.
public Attachment Attachment { get; }
Property Value
Examples
ocrEngine.OcrStarting += (sender, e) =>
{
if (e.Parameters.Attachment != null)
Console.WriteLine($"Processing: {e.Parameters.Attachment.FileName}");
};