表示 PDF417 条形码的类。 更多...
Public 成员函数 | |
| __init__ (self, Optional[IPoint] start=None, Optional[str] data=None) | |
| 使用指定的起始点和数据初始化 AztecBarcode 类的新实例。 | |
| str | __str__ (self) |
| 返回一个可以发送到打印机的字符串。 | |
Public 成员函数 继承自 LabelMaker.Interfaces.IBcdPdf417.APdf417 | |
| __init__ (self, IPoint start, str data) | |
| 初始化一个具有起始点和数据的PDF417条形码。 | |
| int | limit_range (self, int value, int minimum, int maximum) |
| 将值的范围限制在指定的最小值和最大值之间。 | |
Public 成员函数 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| __init__ (self, Optional[IPoint] start=None, str data="", Optional[IRuler] ruler=None, RotateEnum rotation=RotateEnum.NONE) | |
| str | __str__ (self) |
Public 成员函数 继承自 LabelMaker.Interfaces.IBarcode2D.IBarcode2D | |
| str | __str__ (self) |
额外继承的成员函数 | |
Public 属性 继承自 LabelMaker.Interfaces.IBcdPdf417.APdf417 | |
| cell_size = None | |
| error_correction = Pdf417ErrCorrectionEnum.LEVEL2 | |
| int | rows = 0 |
| int | columns = 0 |
Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| start = start | |
| data = data | |
| ruler = ruler or Defaults.ruler() | |
| rotation = rotation | |
表示 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 条形码所需的所有命令和数据。