DetectPageBarcodesJSONA
バーコード認識、ドキュメント検査、レンダリング
説明
DetectPageBarcodesJSON の ANSI DLL 版
文字列パラメータを ANSI テキストとして受け入れ、それ以外はワイド文字列エントリポイントと同じ動作をします
構文
Delphi
Function TPDFlib.DetectPageBarcodesJSON(Page: Integer;
Left, Top, Width, Height, DPI: Double; Formats: Integer= 0;
Options: Integer= 0; MaxResults: Integer= 32): WideString;ActiveX
Function PDFlib::DetectPageBarcodesJSON(Page As Long,
Left As Double, Top As Double, Width As Double, Height As Double,
DPI As Double, Formats As Long, Options As Long,
MaxResults As Long) As StringDLL
const wchar_t* DLDetectPageBarcodesJSON(int InstanceID, int Page,
double Left, double Top, double Width, double Height, double DPI,
int Formats, int Options, int MaxResults);
const char* DLDetectPageBarcodesJSONA(int InstanceID, int Page,
double Left, double Top, double Width, double Height, double DPI,
int Formats, int Options, int MaxResults);戻り値
ページ、実効 DPI、要求領域、結果数、および formatName、text、コンテンツタイプ、シンボル体系識別子、誤り訂正レベル、向き、有効性フラグ、ページ空間の 4 隅の点、境界を持つ結果オブジェクトを含む JSON オブジェクトを返します
検証、レンダリング、バックエンド読み込み、または認識に失敗した場合は空文字列を返します
備考
要求された領域だけを制限付きトップダウン BGR ビットマップにレンダリングし、戻る前に以前の選択ページを復元します
プロセスアーキテクチャに応じて、PDFlibBarcode32.dll または PDFlibBarcode64.dll をホスト実行可能ファイル、PDFlib DLL、または ActiveX モジュールの横に配置します。PDFLIB_BARCODE_READER には代替の絶対バックエンドパスを指定できます
無効なページ、ジオメトリ、マスク、解像度、または制限では LastErrorCode は 115、レンダリング、バックエンド、または認識の失敗では 519 です