定义一维条形码的条宽。 更多...
Public 成员函数 | |
| __init__ (self, float narrow_bar=3.0/203.0, float wide_bar=2.1 *3.0/203.0) | |
| 初始化一个具有指定窄条和宽条宽度的BarWidths类的新实例。 | |
| str | bcd_magnification_1d (self, BarcodeTypeEnum1D bcd_type, PrintPlane pp, "BarWidths" bar_widths) |
| 计算指定类型、打印平面和条宽的一维条形码的放大倍数。 | |
Public 属性 | |
| ruler | |
| narrow_bar | |
| wide_bar | |
Public 属性 继承自 LabelMaker.Interfaces.IBarcode1D.ABarWidths | |
| ruler | |
| narrow_bar | |
| wide_bar | |
额外继承的成员函数 | |
静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode1D.IBarWidths | |
| IRuler | ruler |
| float | narrow_bar |
| float | wide_bar |
定义一维条形码的条宽。
此类初始化了一维条形码的条宽,并提供了一种计算条形码放大的方法。
| LabelMaker.PGL.Barcode1D.BarWidths.__init__ | ( | self, | |
| float | narrow_bar = 3.0 / 203.0, | ||
| float | wide_bar = 2.1 * 3.0 / 203.0 ) |
初始化一个具有指定窄条和宽条宽度的BarWidths类的新实例。
| narrow_bar | 窄条的宽度。 |
| wide_bar | 宽条的宽度。 |
| str LabelMaker.PGL.Barcode1D.BarWidths.bcd_magnification_1d | ( | self, | |
| BarcodeTypeEnum1D | bcd_type, | ||
| PrintPlane | pp, | ||
| "BarWidths" | bar_widths ) |
计算指定类型、打印平面和条宽的一维条形码的放大倍数。
| bcd_type | 一维条形码的类型。 |
| pp | 要使用的打印平面。 |
| bar_widths | 用于放大计算的条宽。 |
| LabelMaker.PGL.Barcode1D.BarWidths.narrow_bar |
| LabelMaker.PGL.Barcode1D.BarWidths.ruler |
| LabelMaker.PGL.Barcode1D.BarWidths.wide_bar |