THotPDF.DecodeLoadedPageBarcodes Method

宣言

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

動作

バーコードが見つからずスキャンが成功した場合は True、空の Results 配列、bdsSucceeded を返します

入力が無効な場合、レンダリング失敗、デコーダー失敗、予算超過、またはキャンセル時は False を返し、Results をクリアします

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

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

Loaded-Page Barcode Decoding