UniPRT SDK  v1.0.0.0
UniPRT.Sdk.LabelMaker.PGL.DataMatrixBarcode 類別 參考文件
類別UniPRT.Sdk.LabelMaker.PGL.DataMatrixBarcode的繼承圖:
UniPRT.Sdk.LabelMaker.Interfaces.ADataMatrix UniPRT.Sdk.LabelMaker.Interfaces.ABarcode2D UniPRT.Sdk.LabelMaker.Interfaces.ISquareCell UniPRT.Sdk.LabelMaker.Interfaces.IBarcode2D UniPRT.Sdk.LabelMaker.Interfaces.IBarcodeItem_2D UniPRT.Sdk.LabelMaker.Interfaces.IPositionRuler UniPRT.Sdk.LabelMaker.Interfaces.IRotation

公開方法(Public Methods)

 DataMatrixBarcode (IPoint start, string data)
 
virtual string CtrlChar (int decimalCharValue)
 取得表示 0-31 範圍內的不可列印控制字元的字串。 更多...
 
override string ToString ()
 返回可發送到印表機的字串。
 

靜態保護屬性

const char _ctrlDelimPgl = '\u000E'
 
const char _ctrlDelimTspl = '~'
 

屬性(properties)

virtual ICellSquare CellSize = Defaults.CellSize [get, set]
 
char CtrlCharDelimiter [get, set]
 
virtual string Data [get, set]
 
virtual string FNC1 [get]
 取得表示 FNC1 字元的字串,以便在條碼數據中包含它。
 
virtual bool Rectangle [get, set]
 設定條碼為矩形形狀,否則使用預設的方形形狀。
 
virtual RotateEnum Rotation = RotateEnum.None [get, set]
 
virtual Tuple< int, int > RowsCols = new Tuple<int, int>(0, 0) [get, set]
 若要手動設定條碼矩陣的尺寸,請指定條碼的行數和列數。 更多...
 
virtual IRuler Ruler = null [get, set]
 
virtual IPoint Start [get, set]
 

函式成員說明文件

◆ CtrlChar()

virtual string UniPRT.Sdk.LabelMaker.Interfaces.ADataMatrix.CtrlChar ( int  decimalCharValue)
virtualinherited

取得表示 0-31 範圍內的不可列印控制字元的字串。

當需要在條碼數據中包含不可列印的字元時,此功能很有用。 例如,行尾字元 0x0D(CR)或 0x0A(LF),分別具有十進制值 13 或 10。

屬性(property)說明文件

◆ RowsCols

virtual Tuple<int, int> UniPRT.Sdk.LabelMaker.Interfaces.ADataMatrix.RowsCols = new Tuple<int, int>(0, 0)
getsetinherited

若要手動設定條碼矩陣的尺寸,請指定條碼的行數和列數。

必須根據 Rectangle 選擇的方形或矩形形狀指定有效的行和列數值。
有效的方形尺寸(行和列):10, 12, 14, 16, 18, 20, 22, 24, 26, 32, 36, 40, 44, 48, 52, 64, 72, 80, 88, 96, 104, 120, 132, 144
有效的矩形尺寸(行 x 列):8x18, 8x32, 12x26, 12x36, 16x36, 16x48

參數
[in]Item1行數。0 允許自動尺寸。
[in]Item2列數。0 允許自動尺寸。