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

公開方法(Public Methods)

boolean IsRectangle ()
 將條碼形狀設為矩形,否則預設為正方形。 更多...
 
void SetRectangle (boolean rectangle)
 
Tuple< Integer, Integer > GetRowsCols ()
 指定條碼的行數和列數,以手動設置條碼矩陣的尺寸。 更多...
 
void SetRowsCols (Tuple< Integer, Integer > rowsCols)
 
String GetCtrlChar (int decimalCharValue)
 取得代表範圍為0-31的不可打印控制字符的字串。 更多...
 
String GetFNC1 ()
 獲取代表FNC1字符的字串,以便將其包含在條碼數據中。 更多...
 
ICellSquare GetCellSize ()
 條碼單元格大小。較大的單元格會導致條碼佔用更大的區域。 更多...
 
void SetCellSize (ICellSquare cellSize)
 
abstract String toString ()
 
- 公開方法(Public Methods) 繼承自 com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D
IRuler GetRuler ()
 列印解析度可以設為英寸或毫米刻度。設置/更新其中一種刻度會導致兩者都被更新。 更多...
 
void SetRuler (IRuler ruler)
 
IPoint GetStart ()
 條碼開始的位置。 更多...
 
void SetStart (IPoint start)
 
String GetData ()
 條碼內容。 更多...
 
void SetData (String data)
 
RotateEnum GetRotation ()
 
void SetRotation (RotateEnum rotation)
 
abstract String ToString ()
 Returns the string that can be sent to printer. 更多...
 

保護方法(Protected Methods)

 ADataMatrix ()
 
 ADataMatrix (IPoint start, String data)
 

保護屬性

char ctrlCharDelimiter = CTRL_DELIM_PGL
 

靜態保護屬性

static final char CTRL_DELIM_PGL = '\u000E'
 
static final char CTRL_DELIM_TSPL = '~'
 

私有屬性

boolean rectangle
 
Tuple< Integer, Integer > rowsCols = new Tuple<>(0, 0)
 
ICellSquare cellSize = Defaults.GetCellSize()
 

建構子與解構子說明文件

◆ ADataMatrix() [1/2]

com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.ADataMatrix ( )
protected

◆ ADataMatrix() [2/2]

函式成員說明文件

◆ GetCellSize()

ICellSquare com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.GetCellSize ( )

◆ GetCtrlChar()

String com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.GetCtrlChar ( int  decimalCharValue)

取得代表範圍為0-31的不可打印控制字符的字串。

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

參考 com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.ctrlCharDelimiter.

◆ GetFNC1()

String com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.GetFNC1 ( )

獲取代表FNC1字符的字串,以便將其包含在條碼數據中。

參考 com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.ctrlCharDelimiter.

◆ GetRowsCols()

Tuple<Integer, Integer> com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.GetRowsCols ( )

指定條碼的行數和列數,以手動設置條碼矩陣的尺寸。

必須根據選擇的正方形或矩形形狀指定行和列的有效值 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以允許自動設定尺寸。

參考 com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.rowsCols.

被參考於 com.UniPRT.Sdk.LabelMaker.PGL.DataMatrixBarcode.toString(), 及 com.UniPRT.Sdk.LabelMaker.TSPL.DataMatrixBarcode.toString().

◆ IsRectangle()

boolean com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.IsRectangle ( )

◆ SetCellSize()

void com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.SetCellSize ( ICellSquare  cellSize)

◆ SetRectangle()

void com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.SetRectangle ( boolean  rectangle)

◆ SetRowsCols()

void com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.SetRowsCols ( Tuple< Integer, Integer >  rowsCols)

◆ toString()

abstract String com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.toString ( )
abstract

資料成員說明文件

◆ cellSize

◆ CTRL_DELIM_PGL

final char com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.CTRL_DELIM_PGL = '\u000E'
staticprotected

◆ CTRL_DELIM_TSPL

final char com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.CTRL_DELIM_TSPL = '~'
staticprotected

◆ ctrlCharDelimiter

◆ rectangle

boolean com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.rectangle
private

◆ rowsCols

Tuple<Integer, Integer> com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.rowsCols = new Tuple<>(0, 0)
private

此類別(class) 文件是由下列檔案中產生: