THotPDF.DecodeLoadedPageBarcodes Method
声明
function DecodeLoadedPageBarcodes(
PageIndex: Integer;
const Decoder: IHPDFBarcodeDecoder;
const Options: THPDFBarcodeDecodeOptions;
out Results: THPDFDecodedBarcodes;
out Info: THPDFBarcodeDecodeInfo): boolean;
行为
扫描成功但未发现条码时,返回 True、空的 Results 数组以及 bdsSucceeded
Invalid input, rendering failure, decoder failure, exhausted budgets, or cancellation returns False 并清除 Results
Info.ResultLimitReached 用于区分"成功但受限的结果集"与"未达到 MaxResults 的完整扫描"
解码器在调用线程上同步执行,只能在其 Decode 调用期间使用该位图