Barcode.net  ver 3.0
.net 開発者向けバーコード作成ライブラリ
公開メンバ関数 | プロパティ | 全メンバ一覧
Pao.BarCode.YubinCustomer クラス

郵便カスタマーバーコードを生成するのに用いられるクラスです。 [詳解]

公開メンバ関数

 YubinCustomer (Graphics g)
 コンストラクタ YubinCustomer [詳解]
 
 YubinCustomer (String imgFilePath, ImageFormat imgFormat)
 コンストラクタ ミリやインチ等の単位で幅・高さを指定し、かつ、dpiを指定して バーコードをファイルに書き込むときに使用する [詳解]
 
void Draw (string code, float x, float y, float point)
 バーコードの描画を行う [詳解]
 
void Draw (string code, float x, float y, float point, string imgFilePath)
 バーコードの描画を行う [詳解]
 
void WriteSVG (string code, float x, float y, float point, string filePath)
 バーコードの描画を行う [詳解]
 

プロパティ

int KuroBarChousei [get, set]
 描画する黒バー幅をドット単位で微細調整できます。 既定値は、0 ドットです。 例えば、このプロパティに-1 を指定すると、バーコード内全ての黒バーの幅が1ドットずつ細くなります。 プリンタにより、調整が必要な場合にこの機能を使用してください。 [詳解]
 
float RotateAngle [get, set]
 回転角度を数値で指定(左下を軸に右回転して描画を行う) [詳解]
 
float ImgDpi [get, set]
 画像DPI (画像ファイル出力用) [詳解]
 

詳解

郵便カスタマーバーコードを生成するのに用いられるクラスです。

構築子と解体子

Pao.BarCode.YubinCustomer.YubinCustomer ( Graphics  g)

コンストラクタ YubinCustomer

引数
gバーコードの描画を行うGraphicsを指定します。
Pao.BarCode.YubinCustomer.YubinCustomer ( String  imgFilePath,
ImageFormat  imgFormat 
)

コンストラクタ ミリやインチ等の単位で幅・高さを指定し、かつ、dpiを指定して バーコードをファイルに書き込むときに使用する

引数
imgFilePath画像ファイルパス
imgFormat画像フォーマット

メソッド詳解

void Pao.BarCode.YubinCustomer.Draw ( string  code,
float  x,
float  y,
float  point 
)

バーコードの描画を行う

引数
code描画を行うバーコードのコードを文字列で指定
x描画位置の始点(左上)のX座標を指定
y描画位置の始点(左上)のY座標を指定
pointバーコード大きさを表すポイントを指定
void Pao.BarCode.YubinCustomer.Draw ( string  code,
float  x,
float  y,
float  point,
string  imgFilePath 
)

バーコードの描画を行う

引数
code描画を行うバーコードのコードを文字列で指定
x描画位置の始点(左上)のX座標を指定
y描画位置の始点(左上)のY座標を指定
pointバーコード大きさを表すポイントを指定
imgFilePath画像ファイルパス
void Pao.BarCode.YubinCustomer.WriteSVG ( string  code,
float  x,
float  y,
float  point,
string  filePath 
)

バーコードの描画を行う

引数
code描画を行うバーコードのコードを文字列で指定
x描画位置の始点(左上)のX座標を指定
y描画位置の始点(左上)のY座標を指定
pointバーコード大きさを表すポイントを指定
filePathSVGファイルのファイル名をフルパスで指定

プロパティ詳解

float Pao.BarCode.YubinCustomer.ImgDpi
getset

画像DPI (画像ファイル出力用)

int Pao.BarCode.YubinCustomer.KuroBarChousei
getset

描画する黒バー幅をドット単位で微細調整できます。 既定値は、0 ドットです。 例えば、このプロパティに-1 を指定すると、バーコード内全ての黒バーの幅が1ドットずつ細くなります。 プリンタにより、調整が必要な場合にこの機能を使用してください。

float Pao.BarCode.YubinCustomer.RotateAngle
getset

回転角度を数値で指定(左下を軸に右回転して描画を行う)


このクラス詳解は次のファイルから抽出されました: