表示 PDF417 條碼的類。 更多...
公開方法(Public Methods) | |
__init__ (self, Optional[IPoint] start=None, Optional[str] data=None) | |
使用指定的起始點和數據初始化 AztecBarcode 類的新實例。 | |
str | __str__ (self) |
返回一個可以發送到打印機的字符串。 | |
![]() | |
int | limit_range (self, int value, int minimum, int maximum) |
將值的範圍限制在指定的最小值和最大值之間。 | |
公開屬性 | |
start | |
data | |
![]() | |
start | |
data | |
cell_size | |
error_correction | |
rows | |
columns | |
![]() | |
start | |
data | |
ruler | |
rotation | |
額外的繼承成員 | |
![]() | |
IPoint | start |
str | data |
ICellRect | cell_size |
Pdf417ErrCorrectionEnum | error_correction |
int | rows |
int | columns |
![]() | |
IPoint | start |
str | data |
![]() | |
IRuler | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
ICellRect | cell_size |
表示 PDF417 條碼的類。
此類繼承自 APdf417,並提供了用於初始化、配置和描述 PDF417 條碼的功能。 PDF417 條碼是一種二維條碼格式,用於編碼大量數據,廣泛用於運輸、識別和庫存管理等應用中。
LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode.__init__ | ( | self, | |
Optional[IPoint] | start = None, | ||
Optional[str] | data = None ) |
使用指定的起始點和數據初始化 AztecBarcode 類的新實例。
此構造函數使用提供的起始點和數據設置一個新的 AztecBarcode 對象。數據代表要在 Aztec 條碼中編碼的信息。
start | 條碼的起始點。 |
data | 要在條碼中編碼的數據。 |
str LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode.__str__ | ( | self | ) |
返回一個可以發送到打印機的字符串。
此方法生成 AztecBarcode 實例的字符串表示形式,該字符串已格式化並準備發送到打印機。 字符串包括打印 Aztec 條碼所需的所有命令和數據。
LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode.data |
LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode.start |