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 and clears Results

Info.ResultLimitReached は、上限付きの結果セットが正常に得られたことと、MaxResults に達しない範囲でスキャンが完了したこととを区別します

デコーダーは呼び出し元のスレッドで同期的に実行され、ビットマップを使用できるのは Decode の呼び出し中だけです

Loaded-Page Barcode Decoding