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

バーの幅

BarWidth

FullBarHeight

フルバーの高さ

TrackerHeight

トラッカーバーの高さ

SpaceWidth

バー間のスペースの幅

BarcodeData

エンコードするバーコードデータ。数字 0~9 だけで構成される 20、25、29、または 31 文字の文字列である必要があります。空白やその他の数字以外の文字は使用できません。2 番目の数字の最大値は 4 です

Options

0 = 標準

10 = バー幅の縮小

戻り値

0バーコードを描画できませんでした
1バーコードを正常に描画しました double SpaceWidth, wchar_t * BarcodeData, int Options);