公開方法(Public Methods) | |
| __init__ (self, float narrow_bar=3.0/203.0, float wide_bar=2.1 *3.0/203.0) | |
| 初始化 BarWidths 類的新實例。 | |
| str | bcd_magnification_1d_with_type (self, BarcodeTypeEnum1D bcd_type, PrintPlane pp, 'BarWidths' bar_widths) |
| 計算具有指定類型、打印平面和條寬的 1D 條碼的放大倍數。 | |
公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode1D.ABarWidths | |
| __init__ (self, float narrow_bar, float wide_bar) | |
額外的繼承成員 | |
公開屬性 繼承自 LabelMaker.Interfaces.IBarcode1D.ABarWidths | |
| ruler = None | |
| narrow_bar = narrow_bar | |
| wide_bar = wide_bar | |
| LabelMaker.TSPL.Barcode1D.BarWidths.__init__ | ( | self, | |
| float | narrow_bar = 3.0 / 203.0, | ||
| float | wide_bar = 2.1 * 3.0 / 203.0 ) |
| str LabelMaker.TSPL.Barcode1D.BarWidths.bcd_magnification_1d_with_type | ( | self, | |
| BarcodeTypeEnum1D | bcd_type, | ||
| PrintPlane | pp, | ||
| 'BarWidths' | bar_widths ) |
計算具有指定類型、打印平面和條寬的 1D 條碼的放大倍數。
此方法根據條碼的類型、打印平面和條寬計算1D條碼所需的放大設置。
| bcd_type | 1D 條碼的類型。 |
| pp | 要使用的打印平面。 |
| bar_widths | 用於放大計算的條寬。 |