GetBarcodeWidth
向量圖形、頁面版面
描述
以條碼中最窄條的寬度為基準,傳回條碼的總寬度
語法
Delphi
Function TPDFlib.GetBarcodeWidth(NominalWidth: Double; Const Text: WideString; Barcode: Integer): Double;
ActiveX
Function PDFlib::GetBarcodeWidth(NominalWidth As Double, Text As String, Barcode As Long) As Double
DLL
double DLGetBarcodeWidth(int InstanceID, double NominalWidth, const wchar_t * Text, int Barcode);
參數
| NominalWidth | 條碼中最窄條的想要寬度 條碼資料 |
|---|---|
| Text | 1 = Code39(又稱 Code 3 of 9) 2 = EAN-13 3 = Code128 4 = PostNet 5 = Interleaved 2 of 5 |
| Barcode |