GetBarcodeWidthA
رسومات المتجهات، تخطيط الصفحة
الوصف
تشير اللاحقة A إلى نقطة دخول DLL بصيغة ANSI (char)؛ وتبقى واجهة 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 | العرض المطلوب لأضيق الأعمدة في الباركود بيانات الباركود |
|---|---|
| Text | 1 = Code39 (or Code 3 of 9) 2 = EAN-13 3 = Code128 4 = PostNet 5 = Interleaved 2 of 5 |
| Barcode |