用于处理一维条形码的基类。 更多...
Public 成员函数 | |
| __init__ (self, Optional[IBarcodeItem] barcode=None) | |
| 使用指定的条形码项初始化Barcode1D类的新实例。 | |
| str | __str__ (self) |
| 返回可以发送到印表机的字符串。 | |
额外继承的成员函数 | |
Public 属性 继承自 LabelMaker.Interfaces.IBarcode1D.ABarcode1D | |
| barcodes | |
| barcode_type | |
| ruler | |
| bar_widths | |
| print_human_readable | |
| rotation | |
静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode1D.IBarcode1D | |
| List | barcodes [IBarcodeItem] |
静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode1D.IBarcode1DProperties | |
| IRuler | ruler |
| IBarWidths | bar_widths |
| bool | print_human_readable |
静态 Public 属性 继承自 LabelMaker.Interfaces.ISettings.IRotation | |
| RotateEnum | rotation |
静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode1D.IBarcodeType1D | |
| BarcodeTypeEnum1D | barcode_type |
用于处理一维条形码的基类。
此类提供了用于创建和管理一维条形码的功能,包括计算放大倍数和格式化条形码数据以便打印。
| LabelMaker.PGL.Barcode1D.Barcode1D.__init__ | ( | self, | |
| Optional[IBarcodeItem] | barcode = None ) |
| str LabelMaker.PGL.Barcode1D.Barcode1D.__str__ | ( | self | ) |
返回可以发送到印表机的字符串。
此方法生成Barcode1D实例的字符串表示形式,格式化并准备发送到印表机。字符串包括所有打印所需的命令和数据。