GetBarcodeWidth
گرافیک برداری، چیدمان صفحه
توضیحات
عرض کل barcode را بر اساس عرض کوچکترین barهای آن برمیگرداند
نحو
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 |