UniPRT SDK  v1.0.0.0
UniPRT.Sdk.LabelMaker.Interfaces.ADataMatrix类 参考abstract

用于 DataMatrix 2D 条码的基类,支持 ECC 200 错误校正。 更多...

类 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 UniPRT.Sdk.LabelMaker.PGL.DataMatrixBarcode UniPRT.Sdk.LabelMaker.TSPL.DataMatrixBarcode

Public 成员函数

virtual string CtrlChar (int decimalCharValue)
 获取表示 0-31 范围内的不可打印控制字符的字符串。 更多...
 
abstract override string ToString ()
 返回可发送到印表机的字符串。
 

Protected 成员函数

 ADataMatrix (IPoint start, string data)
 

静态 Protected 属性

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

属性

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]
 

详细描述

用于 DataMatrix 2D 条码的基类,支持 ECC 200 错误校正。

成员函数说明

◆ CtrlChar()

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

获取表示 0-31 范围内的不可打印控制字符的字符串。

当需要在条码数据中包含不可打印的字符时,此功能很有用。 例如,行尾字符 0x0D(CR)或 0x0A(LF),分别具有十进制值 13 或 10。

属性说明

◆ RowsCols

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

若要手动设置条码矩阵的尺寸,请指定条码的行数和列数。

必须根据 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 允许自动尺寸。