UniPRT SDK v1.0.0.0
 
載入中...
搜尋中...
無符合項目
LabelMaker.PGL.Barcode1D.BarWidths 類別 參考文件

定義一維條碼的條寬。 更多...

類別LabelMaker.PGL.Barcode1D.BarWidths的繼承圖:
LabelMaker.Interfaces.IBarcode1D.ABarWidths LabelMaker.Interfaces.IBarcode1D.IBarWidths

公開方法(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 (self, BarcodeTypeEnum1D bcd_type, PrintPlane pp, "BarWidths" bar_widths)
 計算指定類型、打印平面和條寬的一維條碼的放大倍數。
 

公開屬性

 ruler
 
 narrow_bar
 
 wide_bar
 
- 公開屬性 繼承自 LabelMaker.Interfaces.IBarcode1D.ABarWidths
 ruler
 
 narrow_bar
 
 wide_bar
 

額外的繼承成員

- 靜態公開屬性 繼承自 LabelMaker.Interfaces.IBarcode1D.IBarWidths
IRuler ruler
 
float narrow_bar
 
float wide_bar
 

詳細描述

定義一維條碼的條寬。

此類初始化了一維條碼的條寬,並提供了一種計算條碼放大的方法。

建構子與解構子說明文件

◆ __init__()

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寬條的寬度。

依據LabelMaker.Interfaces.IBarcode1D.ABarWidths重新實作.

函式成員說明文件

◆ bcd_magnification_1d()

str LabelMaker.PGL.Barcode1D.BarWidths.bcd_magnification_1d ( self,
BarcodeTypeEnum1D bcd_type,
PrintPlane pp,
"BarWidths" bar_widths )

計算指定類型、打印平面和條寬的一維條碼的放大倍數。

參數
bcd_type一維條碼的類型。
pp要使用的打印平面。
bar_widths用於放大計算的條寬。
傳回值
表示一維條碼放大的字符串。

資料成員說明文件

◆ narrow_bar

LabelMaker.PGL.Barcode1D.BarWidths.narrow_bar

◆ ruler

LabelMaker.PGL.Barcode1D.BarWidths.ruler

◆ wide_bar

LabelMaker.PGL.Barcode1D.BarWidths.wide_bar

此類別(class) 文件是由下列檔案中產生: