公開方法(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() |
|
protected |
|
protected |
| ICellSquare com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.GetCellSize | ( | ) |
| 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.
| String com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.GetFNC1 | ( | ) |
獲取代表FNC1字符的字串,以便將其包含在條碼數據中。
參考 com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.ctrlCharDelimiter.
| 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().
| boolean com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.IsRectangle | ( | ) |
| void com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.SetCellSize | ( | ICellSquare | cellSize | ) |
| void com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.SetRectangle | ( | boolean | rectangle | ) |
| void com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.SetRowsCols | ( | Tuple< Integer, Integer > | rowsCols | ) |
|
abstract |
|
private |
|
staticprotected |
|
staticprotected |
|
protected |
|
private |