UniPRT SDK v1.0.0.0
 
载入中...
搜索中...
未找到
LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode类 参考

表示 TSPL 中数据矩阵条形码的类。 更多...

类 LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode 继承关系图:
LabelMaker.Interfaces.IBarcode2D.ADataMatrix LabelMaker.Interfaces.IBarcode2D.ABarcode2D LabelMaker.Interfaces.IBarcode2D.ISquareCell LabelMaker.Interfaces.IBarcode2D.IBarcode2D LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D LabelMaker.Interfaces.IBarcode2D.IPositionRuler LabelMaker.Interfaces.ISettings.IRotation

Public 成员函数

 __init__ (self, Optional[IPoint] start=None, Optional[str] data=None)
 使用指定的起始点和数据初始化 DataMatrixBarcode 类的新实例。
 
str __str__ (self)
 返回一个可以发送到印表机的字符串。
 
- Public 成员函数 继承自 LabelMaker.Interfaces.IBarcode2D.ADataMatrix
str ctrl_char (self, int decimal_char_value)
 
str fnc1 (self)
 

Public 属性

 ctrl_char_delimiter
 
- Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ADataMatrix
 ctrl_char_delimiter
 
 rows_cols
 
 cell_size
 
 rectangle
 
- Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start
 
 data
 
 ruler
 
 rotation
 

静态 Protected 属性

str _ctrl_delim_tspl = "~"
 

额外继承的成员函数

- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D
IPoint start
 
str data
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.IPositionRuler
IRuler ruler
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.ISettings.IRotation
RotateEnum rotation
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ISquareCell
ICellSquare cell_size
 

详细描述

表示 TSPL 中数据矩阵条形码的类。

此类继承自 ADataMatrix,并提供在 TSPL 中初始化和描述数据矩阵条形码的功能。

构造及析构函数说明

◆ __init__()

LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.__init__ ( self,
Optional[IPoint] start = None,
Optional[str] data = None )

使用指定的起始点和数据初始化 DataMatrixBarcode 类的新实例。

参数
start条形码的起始点。
data要编码到条形码中的数据。

重载 LabelMaker.Interfaces.IBarcode2D.ADataMatrix .

成员函数说明

◆ __str__()

str LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.__str__ ( self)

返回一个可以发送到印表机的字符串。

此方法生成 DataMatrixBarcode 实例的字符串表示形式,该字符串已格式化并准备发送到印表机。 字符串包括所有在 TSPL 中打印所需的命令和数据。

返回
DataMatrixBarcode 实例的字符串描述。

重载 LabelMaker.Interfaces.IBarcode2D.ABarcode2D .

类成员变量说明

◆ _ctrl_delim_tspl

str LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode._ctrl_delim_tspl = "~"
staticprotected

◆ ctrl_char_delimiter

LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.ctrl_char_delimiter

该类的文档由以下文件生成: