表示 PDF417 条形码的类。 更多...
Public 成员函数 | |
__init__ (self, Optional[IPoint] start=None, Optional[str] data=None) | |
使用指定的起始点和数据初始化 AztecBarcode 类的新实例。 | |
str | __str__ (self) |
返回一个可以发送到印表机的字符串。 | |
![]() | |
int | limit_range (self, int value, int minimum, int maximum) |
将值的范围限制在指定的最小值和最大值之间。 | |
Public 属性 | |
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 |