THotPDF.DecodeLoadedPageBarcodes Method

Declaration

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

Behaviour

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

Invalid input, rendering failure, decoder failure, exhausted budgets, or cancellation returns False and clears Results

Info.ResultLimitReached distinguishes a successful bounded result set from a complete scan below MaxResults

The decoder executes synchronously on the calling thread and may use the bitmap only during its Decode call

Loaded-Page Barcode Decoding