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

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

類別LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode的繼承圖:
LabelMaker.Interfaces.IBcdPdf417.APdf417 LabelMaker.Interfaces.IBarcode2D.ABarcode2D LabelMaker.Interfaces.IBarcode2D.IRectangleCell 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)
 使用指定的起始點和數據初始化 AztecBarcode 類的新實例。
 
str __str__ (self)
 返回一個可以發送到打印機的字符串。
 
- 公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBcdPdf417.APdf417
 __init__ (self, IPoint start, str data)
 初始化一個具有起始點和數據的PDF417條碼。
 
int limit_range (self, int value, int minimum, int maximum)
 將值的範圍限制在指定的最小值和最大值之間。
 
- 公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 __init__ (self, Optional[IPoint] start=None, str data="", Optional[IRuler] ruler=None, RotateEnum rotation=RotateEnum.NONE)
 
str __str__ (self)
 
- 公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode2D.IBarcode2D
str __str__ (self)
 

額外的繼承成員

- 公開屬性 繼承自 LabelMaker.Interfaces.IBcdPdf417.APdf417
 cell_size = None
 
 error_correction = Pdf417ErrCorrectionEnum.LEVEL2
 
int rows = 0
 
int columns = 0
 
- 公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start = start
 
 data = data
 
 ruler = ruler or Defaults.ruler()
 
 rotation = rotation
 

詳細描述

表示 PDF417 條碼的類。

此類繼承自 APdf417,並提供了用於初始化、配置和描述 PDF417 條碼的功能。 PDF417 條碼是一種二維條碼格式,用於編碼大量數據,廣泛用於運輸、識別和庫存管理等應用中。

建構子與解構子說明文件

◆ __init__()

LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode.__init__ ( self,
Optional[IPoint] start = None,
Optional[str] data = None )

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

此構造函數使用提供的起始點和數據設置一個新的 AztecBarcode 對象。數據代表要在 Aztec 條碼中編碼的信息。

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

函式成員說明文件

◆ __str__()

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

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

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

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

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