THotPDF.DecodeLoadedPageBarcodes Method

声明

function DecodeLoadedPageBarcodes(
    PageIndex: Integer;
    const Decoder: IHPDFBarcodeDecoder;
    const Options: THPDFBarcodeDecodeOptions;
    out Results: THPDFDecodedBarcodes;
    out Info: THPDFBarcodeDecodeInfo): boolean;

行为

An empty successful scan returns True, an empty Results array, and bdsSucceeded

Invalid input, rendering failure, decoder failure, exhausted budgets, or cancellation returns False 并清除 Results

Info.ResultLimitReached 用于区分"成功但受限的结果集"与"未达到 MaxResults 的完整扫描"

解码器在调用线程上同步执行,只能在其 Decode 调用期间使用该位图

已加载页面条码解码