UniPRT SDK v1.0.0.0
 
載入中...
搜尋中...
無符合項目
LabelMaker.TSPL.BcdAztec.AztecBarcode 類別 參考文件

表示 TSPL 中 Aztec 條碼的類。 更多...

類別LabelMaker.TSPL.BcdAztec.AztecBarcode的繼承圖:

公開方法(Public Methods)

 __init__ (self, Optional[IPoint] start=None, Optional[str] data=None)
 使用指定的起始點和數據初始化 AztecBarcode 類的新實例。
 
str __str__ (self)
 返回一個可以發送到打印機的字符串。
 

靜態公開方法(Static Public Methods)

int calculate_aztec_module_count (int data_size, int error_correction_percentage)
 
int calculate_total_codewords_for_layers (int layers)
 
int calculate_length_with_ecc (int data_length, int ecc_percentage)
 

公開屬性

 type
 

詳細描述

表示 TSPL 中 Aztec 條碼的類。

此類繼承自 AAztecBarcode,並提供在 TSPL 中初始化和描述 Aztec 條碼的功能。

建構子與解構子說明文件

◆ __init__()

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

使用指定的起始點和數據初始化 AztecBarcode 類的新實例。

參數
start條碼的起始點。
data要編碼到條碼中的數據。

函式成員說明文件

◆ __str__()

str LabelMaker.TSPL.BcdAztec.AztecBarcode.__str__ ( self)

返回一個可以發送到打印機的字符串。

此方法生成 AztecBarcode 實例的字符串表示形式,該字符串已格式化並準備發送到打印機。 字符串包括所有在 TSPL 中打印所需的命令和數據。

傳回值
AztecBarcode 實例的字符串描述。

◆ calculate_aztec_module_count()

int LabelMaker.TSPL.BcdAztec.AztecBarcode.calculate_aztec_module_count ( int data_size,
int error_correction_percentage )
static

◆ calculate_length_with_ecc()

int LabelMaker.TSPL.BcdAztec.AztecBarcode.calculate_length_with_ecc ( int data_length,
int ecc_percentage )
static

◆ calculate_total_codewords_for_layers()

int LabelMaker.TSPL.BcdAztec.AztecBarcode.calculate_total_codewords_for_layers ( int layers)
static

資料成員說明文件

◆ type

LabelMaker.TSPL.BcdAztec.AztecBarcode.type

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