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

表示 QR 碼條碼的類。 更多...

類別LabelMaker.PGL.QRBarcode.QRBarcode的繼承圖:
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode 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, IPoint start, data="", Optional[List[List[Union[int, str]]]] data_manually_encoded=None)
 使用指定的起始點、數據和手動編碼數據(可選)初始化 QRBarcode 類的新實例。
 
str __str__ (self)
 返回一個可以發送到打印機的字符串。
 

公開屬性

 start
 
 data
 
 data_manually_encoded
 
- 公開屬性 繼承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode
 data_manually_encoded
 
 mask
 
 model
 
 error_correction
 
 cell_size
 
- 公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start
 
 data
 
 ruler
 
 rotation
 

額外的繼承成員

- 靜態公開屬性 繼承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode
IPoint start
 
str data
 
List data_manually_encoded [List[str]]
 
QRCodeMaskEnum mask
 
QRCodeModelEnum model
 
QRCodeErrorCorrectionEnum error_correction
 
ICellSquare cell_size
 
- 靜態公開屬性 繼承自 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
 

詳細描述

表示 QR 碼條碼的類。

此類繼承自 AQRBarcode,並提供了用於初始化、配置和描述 QR 碼條碼的功能。 QR 碼條碼可以配置為自動或手動編碼模式以及不同的糾錯級別。

建構子與解構子說明文件

◆ __init__()

LabelMaker.PGL.QRBarcode.QRBarcode.__init__ ( self,
IPoint start,
data = "",
Optional[List[List[Union[int, str]]]] data_manually_encoded = None )

使用指定的起始點、數據和手動編碼數據(可選)初始化 QRBarcode 類的新實例。

此構造函數使用提供的起始點、數據和可選的手動編碼數據設置一個新的 QRBarcode 對象。 數據代表要在 QR 碼條碼中編碼的信息。

參數
startQR 碼的起始點。
data要在 QR 碼中編碼的數據。
data_manually_encoded用於 QR 碼的手動編碼數據點數組。

依據LabelMaker.Interfaces.IBcdQRCode.AQRBarcode重新實作.

函式成員說明文件

◆ __str__()

str LabelMaker.PGL.QRBarcode.QRBarcode.__str__ ( self)

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

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

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

依據LabelMaker.Interfaces.IBarcode2D.ABarcode2D重新實作.

資料成員說明文件

◆ data

LabelMaker.PGL.QRBarcode.QRBarcode.data

◆ data_manually_encoded

LabelMaker.PGL.QRBarcode.QRBarcode.data_manually_encoded

◆ start

LabelMaker.PGL.QRBarcode.QRBarcode.start

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