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 接收一个借用的 24 位位图和每次操作剩余的预算

实现必须遵守 MaxResults,应在长时间扫描期间检查 CancellationToken,并且不得保留或释放 Request.Bitmap

当引擎无法完成本次尝试时,返回 False 并给出有用的诊断信息

已加载页面条码解码