Public 成员函数 | |
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 () |
![]() | |
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 成员函数 | |
ADataMatrix () | |
ADataMatrix (IPoint start, String data) | |
Protected 属性 | |
char | ctrlCharDelimiter = CTRL_DELIM_PGL |
静态 Protected 属性 | |
static final char | CTRL_DELIM_PGL = '\u000E' |
static final char | CTRL_DELIM_TSPL = '~' |
Private 属性 | |
boolean | rectangle |
Tuple< Integer, Integer > | rowsCols = new Tuple<>(0, 0) |
ICellSquare | cellSize = Defaults.GetCellSize() |
|
protected |
|
protected |
ICellSquare com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.GetCellSize | ( | ) |
条码单元格大小。较大的单元格会导致条码占用更大的区域。
实现了 com.UniPRT.Sdk.LabelMaker.Interface.ISquareCell.
引用了 com.UniPRT.Sdk.LabelMaker.Abstract.ADataMatrix.cellSize.
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PGL.DataMatrixBarcode.toString() , 以及 com.UniPRT.Sdk.LabelMaker.TSPL.DataMatrixBarcode.toString().
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 |