用於處理一維條碼的基類。 更多...
公開方法(Public Methods) | |
| __init__ (self, Optional[IBarcodeItem] barcode=None) | |
| 使用指定的條碼項初始化Barcode1D類的新實例。 | |
| str | __str__ (self) |
| 返回可以發送到打印機的字符串。 | |
公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode1D.ABarcode1D | |
| __init__ (self, Optional[IBarcodeItem] barcode_item=None) | |
| str | __str__ (self) |
公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode1D.IBarcode1D | |
| str | __str__ (self) |
額外的繼承成員 | |
公開屬性 繼承自 LabelMaker.Interfaces.IBarcode1D.ABarcode1D | |
| barcode_type = BarcodeTypeEnum1D.NOT_DEFINED | |
| ruler = None | |
| bar_widths = None | |
| bool | print_human_readable = False |
| rotation = RotateEnum.NONE | |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IBarcode1D.IBarcode1D | |
| List | barcodes [IBarcodeItem] |
用於處理一維條碼的基類。
此類提供了用於創建和管理一維條碼的功能,包括計算放大倍數和格式化條碼數據以便打印。
| LabelMaker.PGL.Barcode1D.Barcode1D.__init__ | ( | self, | |
| Optional[IBarcodeItem] | barcode = None ) |
使用指定的條碼項初始化Barcode1D類的新實例。
| barcode | 用於初始化的條碼項。 |
| str LabelMaker.PGL.Barcode1D.Barcode1D.__str__ | ( | self | ) |
返回可以發送到打印機的字符串。
此方法生成Barcode1D實例的字符串表示形式,格式化並準備發送到打印機。字符串包括所有打印所需的命令和數據。