IHPDFBarcodeDecoder Interface
IHPDFBarcodeDecoder = interface(IInterface)
function GetName: AnsiString;
function Decode(const Request: THPDFBarcodeDecodeRequest;
out Results: THPDFBarcodeDecoderResults;
out Diagnostic: AnsiString): boolean;
property Name: AnsiString read GetName;
end;
Decode receives a borrowed 24-bit bitmap and remaining per-operation budgets
The implementation must honour MaxResults, should check CancellationToken during long scans, and must not retain or free Request.Bitmap
Return False with a useful diagnostic when the engine cannot complete the attempt