GetBarcodeWidthA

ベクターグラフィックス、ページレイアウト

説明

末尾の A は ANSI(char)DLL エントリポイントを示します。ActiveX/COM インターフェースでは Unicode 形式のみを公開します。動作は GetBarcodeWidth と同じで、文字列引数は現在の SetAnsiMode コードページを使用して解釈されます

バーコード内で最も細いバーの幅に基づいて、バーコード全体の幅を返します

構文

Delphi

Function DLGetBarcodeWidthA(InstanceID: Integer; NominalWidth: Double; Text: PAnsiChar; Barcode: Integer): Double;

DLL

double DLGetBarcodeWidthA(int InstanceID, double NominalWidth, const char * Text, int Barcode);

パラメータ

NominalWidthバーコードの最細バーの希望幅 バーコードデータ
Text1 = Code39(または Code 3 of 9) 2 = EAN-13 3 = Code128 4 = PostNet 5 = Interleaved 2 of 5
Barcode