表示 TSPL 中數據矩陣條碼的類。 更多...
公開方法(Public Methods) | |
__init__ (self, Optional[IPoint] start=None, Optional[str] data=None) | |
使用指定的起始點和數據初始化 DataMatrixBarcode 類的新實例。 | |
str | __str__ (self) |
返回一個可以發送到打印機的字符串。 | |
![]() | |
str | ctrl_char (self, int decimal_char_value) |
str | fnc1 (self) |
靜態保護屬性 | |
str | _ctrl_delim_tspl = "~" |
額外的繼承成員 | |
![]() | |
IPoint | start |
str | data |
![]() | |
IRuler | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
ICellSquare | cell_size |
表示 TSPL 中數據矩陣條碼的類。
此類繼承自 ADataMatrix,並提供在 TSPL 中初始化和描述數據矩陣條碼的功能。
LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.__init__ | ( | self, | |
Optional[IPoint] | start = None, | ||
Optional[str] | data = None ) |
使用指定的起始點和數據初始化 DataMatrixBarcode 類的新實例。
start | 條碼的起始點。 |
data | 要編碼到條碼中的數據。 |
str LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.__str__ | ( | self | ) |
返回一個可以發送到打印機的字符串。
此方法生成 DataMatrixBarcode 實例的字符串表示形式,該字符串已格式化並準備發送到打印機。 字符串包括所有在 TSPL 中打印所需的命令和數據。
|
staticprotected |
LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.ctrl_char_delimiter |