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 Methods)

 __init__ (self, Optional[IPoint] start=None, Optional[str] data=None)
 使用指定的起始點和數據初始化 DataMatrixBarcode 類的新實例。
 
str __str__ (self)
 返回一個可以發送到打印機的字符串。
 
- 公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode2D.ADataMatrix
str ctrl_char (self, int decimal_char_value)
 
str fnc1 (self)
 

公開屬性

 ctrl_char_delimiter
 
- 公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.ADataMatrix
 ctrl_char_delimiter
 
 rows_cols
 
 cell_size
 
 rectangle
 
- 公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start
 
 data
 
 ruler
 
 rotation
 

靜態保護屬性

str _ctrl_delim_tspl = "~"
 

額外的繼承成員

- 靜態公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D
IPoint start
 
str data
 
- 靜態公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.IPositionRuler
IRuler ruler
 
- 靜態公開屬性 繼承自 LabelMaker.Interfaces.ISettings.IRotation
RotateEnum rotation
 
- 靜態公開屬性 繼承自 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

此類別(class) 文件是由下列檔案中產生: