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 |