表示可以打印的DataMatrix条形码。 更多...
Public 成员函数 | |
| __init__ (self, Optional[IPoint] start=None, Optional[str] data=None) | |
| 初始化DataMatrixBarcode类的新实例。 | |
| str | __str__ (self) |
| 返回描述接收者内容的字符串。 | |
Public 成员函数 继承自 LabelMaker.Interfaces.IBarcode2D.ADataMatrix | |
| __init__ (self, Optional[IPoint] start=None, str data="", Optional[ICellSquare] cell_size=None) | |
| str | ctrl_char (self, int decimal_char_value) |
| str | fnc1 (self) |
Public 成员函数 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| __init__ (self, Optional[IPoint] start=None, str data="", Optional[IRuler] ruler=None, RotateEnum rotation=RotateEnum.NONE) | |
| str | __str__ (self) |
Public 成员函数 继承自 LabelMaker.Interfaces.IBarcode2D.IBarcode2D | |
| str | __str__ (self) |
额外继承的成员函数 | |
Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ADataMatrix | |
| str | ctrl_char_delimiter = '~' |
| tuple | rows_cols = (0, 0) |
| cell_size = cell_size or Defaults.cell_size() | |
| bool | rectangle = False |
Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| start = start | |
| data = data | |
| ruler = ruler or Defaults.ruler() | |
| rotation = rotation | |
表示可以打印的DataMatrix条形码。
此类提供用于创建和管理具有指定设置和数据的DataMatrix条形码的功能。
| LabelMaker.PGL.BcdDataMatrix.DataMatrixBarcode.__init__ | ( | self, | |
| Optional[IPoint] | start = None, | ||
| Optional[str] | data = None ) |
初始化DataMatrixBarcode类的新实例。
| start | 条形码的起始点。 |
| data | 要在条形码中编码的数据。 |
| str LabelMaker.PGL.BcdDataMatrix.DataMatrixBarcode.__str__ | ( | self | ) |
返回描述接收者内容的字符串。
此方法生成DataMatrixBarcode实例的字符串表示形式,格式化并准备发送到打印机。字符串包括所有打印所需的命令和数据。