DrawIntelligentMailBarcodeA

رسومات المتجهات، الرموز الشريطية

الوصف

تشير اللاحقة A إلى نقطة دخول DLL بصيغة ANSI (char)؛ وتبقى واجهة ActiveX/COM مكشوفةً بالصيغة Unicode فقط. والسلوك مطابق لـ DrawIntelligentMailBarcode وتُفسر وسائط السلاسل بصفحة شيفرة SetAnsiMode الحالية

ترسم هذه الدالة باركود USPS Intelligent Mail (المعروف أيضًا باسم OneCode) على الصفحة

الصيغة

Delphi

Function DLDrawIntelligentMailBarcodeA(InstanceID: Integer; Left, Top, BarWidth, FullBarHeight, TrackerHeight, SpaceWidth: Double; BarcodeData: PAnsiChar; Options: Integer): Integer;

DLL

int DLDrawIntelligentMailBarcodeA(int InstanceID, double Left, double Top, double BarWidth, double FullBarHeight, double TrackerHeight, double SpaceWidth, const char * BarcodeData, int Options);

المعاملات

Left

الإحداثي الأفقي للحافة اليسرى للباركود

الإحداثي الرأسي للحافة العلوية للباركود

Top

The width of the bars

BarWidth

FullBarHeight

The height of a full bar

TrackerHeight

ارتفاع شريط التتبع

SpaceWidth

عرض الفراغات بين الأعمدة

BarcodeData

بيانات الباركود المطلوب ترميزها. ينبغي أن تكون سلسلة من 20 أو 25 أو 29 أو 31 محرفًا تحتوي فقط الأرقام من 0 إلى 9. ولن تُقبل مسافات أو أي محارف غير رقمية. والرقم الثاني قيمته القصوى 4

Options

0 = Normal

10 = Bar width reduction

قيم الإرجاع

0تعذّر رسم الباركود
1رُسم الباركود بنجاح double SpaceWidth, wchar_t * BarcodeData, int Options);