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

[詳解]

Pao.BarCode.IBarCode の継承関係図
Pao.BarCode.Code128 Pao.BarCode.Code39 Pao.BarCode.Code93 Pao.BarCode.GS1_DataBar_14 Pao.BarCode.GS1_DataBar_Expanded Pao.BarCode.GS1_DataBar_Limited Pao.BarCode.ITF Pao.BarCode.JAN13 Pao.BarCode.JAN8 Pao.BarCode.Matrix2of5 Pao.BarCode.NEC2of5 Pao.BarCode.NW7 Pao.BarCode.UPC_A Pao.BarCode.UPC_E

公開メンバ関数

void Draw (string code, float x, float y, float width, float height)
 Draw a barcode [詳解]
 
void Draw (string code, float x, float y, float width, float height, string imageFilePath)
 Draw a barcode draw barcode to image file, when specifying ImageFormat in constructor. [詳解]
 
void DrawDelicate (string code, float x, float y, float minLineWidth, float height)
 This is to draw a barcode. The difference from Draw methods is that this method is not used to set overall width but the thinnest bar width of barcode. [詳解]
 
void DrawDelicate (string code, float x, float y, float minLineWidth, float height, string imageFilePath)
 This is to draw a barcode. The difference from Draw methods is that this method is not used to set overall width but the thinnest bar width of barcode. draw barcode to image file, when specifying ImageFormat in constructor. [詳解]
 
void DrawDirect (string code, float x, float y, float width, float height)
 Barcode is directly drawn within the width set in pixel. Accuracy and speed are better than Draw method, although the width cannot be fixed. [詳解]
 
void DrawDirect (string code, float x, float y, float width, float height, string imageFilePath)
 Barcode is directly drawn within the width set in pixel. Accuracy and speed are better than Draw method, although the width cannot be fixed. draw barcode to image file, when specifying ImageFormat in constructor. [詳解]
 

プロパティ

bool TextWrite [get, set]
 true if text will be generated along with the barcode [詳解]
 
bool TextKintou [get, set]
 drawing position drawing position (to fit a barcode to set width). true: Draw barcode within an overall width by equal spacing, false: Draw barcode at a bar meaning a code (default) [詳解]
 
Font TextFont [get, set]
 the font used in writing text [詳解]
 
float RotateAngle [get, set]
 barcode angle [詳解]
 
int KuroBarChousei [get, set]
 number of dot for fine adjustment of black bars.(The defined value of dot is 0.) [詳解]
 
int ShiroBarChousei [get, set]
 number of dot for fine adjustment of white bars.(The defined value of dot is 0.) [詳解]
 
GraphicsUnit ImgDrawUnit [get, set]
 Image Draw Unit (use draw to image file) [詳解]
 
float ImgDpi [get, set]
 Image DPI (use draw to image file) [詳解]
 

詳解

メソッド詳解

void Pao.BarCode.IBarCode.Draw ( string  code,
float  x,
float  y,
float  width,
float  height 
)

Draw a barcode

引数
codeSet barcode codes by character strings.
xSet x-coordinate of the drawing start point at upper left.
ySet y-coordinate of the drawing start point at upper left.
widthSet overall width of the barcode.
heightSet height of the barcode.

Pao.BarCode.Code128, Pao.BarCode.GS1_DataBar_14, Pao.BarCode.GS1_DataBar_Expanded, Pao.BarCode.GS1_DataBar_Limited, Pao.BarCode.Code93, Pao.BarCode.JAN13, Pao.BarCode.UPC_A, Pao.BarCode.Code39, Pao.BarCode.NW7, Pao.BarCode.UPC_E, Pao.BarCode.Matrix2of5, Pao.BarCode.JAN8, Pao.BarCode.ITF, Pao.BarCode.NEC2of5で実装されています。

void Pao.BarCode.IBarCode.Draw ( string  code,
float  x,
float  y,
float  width,
float  height,
string  imageFilePath 
)

Draw a barcode draw barcode to image file, when specifying ImageFormat in constructor.

引数
codeSet barcode codes by character strings.
xSet x-coordinate of the drawing start point at upper left.
ySet y-coordinate of the drawing start point at upper left.
widthSet overall width of the barcode.
heightSet height of the barcode.
imageFilePathimage file path

Pao.BarCode.Code128, Pao.BarCode.GS1_DataBar_14, Pao.BarCode.GS1_DataBar_Expanded, Pao.BarCode.GS1_DataBar_Limited, Pao.BarCode.Code93, Pao.BarCode.JAN13, Pao.BarCode.UPC_A, Pao.BarCode.Code39, Pao.BarCode.NW7, Pao.BarCode.UPC_E, Pao.BarCode.Matrix2of5, Pao.BarCode.JAN8, Pao.BarCode.ITF, Pao.BarCode.NEC2of5で実装されています。

void Pao.BarCode.IBarCode.DrawDelicate ( string  code,
float  x,
float  y,
float  minLineWidth,
float  height 
)

This is to draw a barcode. The difference from Draw methods is that this method is not used to set overall width but the thinnest bar width of barcode.

引数
codeSet barcode codes by character strings.
xSet x-coordinate of the drawing start point at upper left.
ySet y-coordinate of the drawing start point at upper left.
minLineWidthSet the thinnest bar width of barcode to be drawn.
heightSet height of the barcode.

Pao.BarCode.Code128, Pao.BarCode.UPC_A, Pao.BarCode.JAN13, Pao.BarCode.ITF, Pao.BarCode.JAN8, Pao.BarCode.UPC_E, Pao.BarCode.Code93, Pao.BarCode.NW7, Pao.BarCode.GS1_DataBar_Expanded, Pao.BarCode.GS1_DataBar_14, Pao.BarCode.NEC2of5, Pao.BarCode.Matrix2of5, Pao.BarCode.Code39, Pao.BarCode.GS1_DataBar_Limitedで実装されています。

void Pao.BarCode.IBarCode.DrawDelicate ( string  code,
float  x,
float  y,
float  minLineWidth,
float  height,
string  imageFilePath 
)

This is to draw a barcode. The difference from Draw methods is that this method is not used to set overall width but the thinnest bar width of barcode. draw barcode to image file, when specifying ImageFormat in constructor.

引数
codeSet barcode codes by character strings.
xSet x-coordinate of the drawing start point at upper left.
ySet y-coordinate of the drawing start point at upper left.
minLineWidthSet the thinnest bar width of barcode to be drawn.
heightSet height of the barcode.
imageFilePathimage file path

Pao.BarCode.Code128, Pao.BarCode.UPC_A, Pao.BarCode.JAN13, Pao.BarCode.ITF, Pao.BarCode.JAN8, Pao.BarCode.UPC_E, Pao.BarCode.Code93, Pao.BarCode.NW7, Pao.BarCode.GS1_DataBar_Expanded, Pao.BarCode.GS1_DataBar_14, Pao.BarCode.NEC2of5, Pao.BarCode.Matrix2of5, Pao.BarCode.Code39, Pao.BarCode.GS1_DataBar_Limitedで実装されています。

void Pao.BarCode.IBarCode.DrawDirect ( string  code,
float  x,
float  y,
float  width,
float  height 
)

Barcode is directly drawn within the width set in pixel. Accuracy and speed are better than Draw method, although the width cannot be fixed.

引数
codeSet barcode codes by character strings.
xSet x-coordinate of the drawing start point at upper left.
ySet y-coordinate of the drawing start point at upper left.
widthSet overall width of the barcode.
heightSet height of the barcode.

Pao.BarCode.Code128, Pao.BarCode.UPC_A, Pao.BarCode.JAN13, Pao.BarCode.JAN8, Pao.BarCode.ITF, Pao.BarCode.UPC_E, Pao.BarCode.Code93, Pao.BarCode.NW7, Pao.BarCode.Matrix2of5, Pao.BarCode.NEC2of5, Pao.BarCode.GS1_DataBar_Expanded, Pao.BarCode.Code39, Pao.BarCode.GS1_DataBar_14, Pao.BarCode.GS1_DataBar_Limitedで実装されています。

void Pao.BarCode.IBarCode.DrawDirect ( string  code,
float  x,
float  y,
float  width,
float  height,
string  imageFilePath 
)

Barcode is directly drawn within the width set in pixel. Accuracy and speed are better than Draw method, although the width cannot be fixed. draw barcode to image file, when specifying ImageFormat in constructor.

引数
codeSet barcode codes by character strings.
xSet x-coordinate of the drawing start point at upper left.
ySet y-coordinate of the drawing start point at upper left.
widthSet overall width of the barcode.
heightSet height of the barcode.
imageFilePathimage file path

Pao.BarCode.Code128, Pao.BarCode.UPC_A, Pao.BarCode.JAN13, Pao.BarCode.JAN8, Pao.BarCode.ITF, Pao.BarCode.UPC_E, Pao.BarCode.Code93, Pao.BarCode.NW7, Pao.BarCode.Matrix2of5, Pao.BarCode.NEC2of5, Pao.BarCode.GS1_DataBar_Expanded, Pao.BarCode.Code39, Pao.BarCode.GS1_DataBar_14, Pao.BarCode.GS1_DataBar_Limitedで実装されています。

プロパティ詳解

float Pao.BarCode.IBarCode.ImgDpi
getset

Image DPI (use draw to image file)

GraphicsUnit Pao.BarCode.IBarCode.ImgDrawUnit
getset

Image Draw Unit (use draw to image file)

int Pao.BarCode.IBarCode.KuroBarChousei
getset

number of dot for fine adjustment of black bars.(The defined value of dot is 0.)

float Pao.BarCode.IBarCode.RotateAngle
getset

barcode angle

int Pao.BarCode.IBarCode.ShiroBarChousei
getset

number of dot for fine adjustment of white bars.(The defined value of dot is 0.)

Font Pao.BarCode.IBarCode.TextFont
getset

the font used in writing text

bool Pao.BarCode.IBarCode.TextKintou
getset

drawing position drawing position (to fit a barcode to set width). true: Draw barcode within an overall width by equal spacing, false: Draw barcode at a bar meaning a code (default)

bool Pao.BarCode.IBarCode.TextWrite
getset

true if text will be generated along with the barcode


このインタフェース詳解は次のファイルから抽出されました: