DrawIntelligentMailBarcode

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

الوصف

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

الصيغة

Delphi

Function TPDFlib.DrawIntelligentMailBarcode(Left, Top, BarWidth, FullBarHeight, TrackerHeight, SpaceWidth: Double; Const BarcodeData: WideString; Options: Integer): Integer;

ActiveX

Function PDFlib::DrawIntelligentMailBarcode(Left As Double, Top As Double, BarWidth As Double, FullBarHeight As Double, TrackerHeight As Double, SpaceWidth As Double, BarcodeData As String, Options As Long) As Long

DLL

int DLDrawIntelligentMailBarcode(int InstanceID, double Left, double Top, double BarWidth, double FullBarHeight, double TrackerHeight, double SpaceWidth, const wchar_t * 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);