UniPRT SDK v2.0.0.0
 
載入中...
搜尋中...
無符合項目
LabelMaker.Interfaces.IBcdPdf417.APdf417 類別 參考文件

PDF417條碼的基類。 更多...

類別LabelMaker.Interfaces.IBcdPdf417.APdf417的繼承圖:
LabelMaker.Interfaces.IBarcode2D.ABarcode2D LabelMaker.Interfaces.IBarcode2D.IRectangleCell LabelMaker.Interfaces.IBarcode2D.IBarcode2D LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D LabelMaker.Interfaces.IBarcode2D.IPositionRuler LabelMaker.Interfaces.ISettings.IRotation LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode LabelMaker.TSPL.Pdf417Barcode.Pdf417Barcode

公開方法(Public Methods)

 __init__ (self, IPoint start, str data)
 初始化一個具有起始點和數據的PDF417條碼。
 
int limit_range (self, int value, int minimum, int maximum)
 將值的範圍限制在指定的最小值和最大值之間。
 
- 公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 __init__ (self, Optional[IPoint] start=None, str data="", Optional[IRuler] ruler=None, RotateEnum rotation=RotateEnum.NONE)
 
str __str__ (self)
 
- 公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode2D.IBarcode2D
str __str__ (self)
 

公開屬性

 cell_size = None
 
 error_correction = Pdf417ErrCorrectionEnum.LEVEL2
 
int rows = 0
 
int columns = 0
 
- 公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start = start
 
 data = data
 
 ruler = ruler or Defaults.ruler()
 
 rotation = rotation
 

詳細描述

PDF417條碼的基類。

該類提供了創建PDF417條碼的基本結構和功能,包括起始點、數據、單元格大小、錯誤校正級別 以及行數和列數等屬性。

建構子與解構子說明文件

◆ __init__()

LabelMaker.Interfaces.IBcdPdf417.APdf417.__init__ ( self,
IPoint start,
str data )

初始化一個具有起始點和數據的PDF417條碼。

此構造函數使用指定的起始點和數據內容初始化PDF417條碼,並設置單元格大小、錯誤校正級別、 行數和列數的默認值。

參數
start條碼的起始點或位置。
data要編碼的條碼數據。

函式成員說明文件

◆ limit_range()

int LabelMaker.Interfaces.IBcdPdf417.APdf417.limit_range ( self,
int value,
int minimum,
int maximum )

將值的範圍限制在指定的最小值和最大值之間。

該方法通過返回最小值(如果值低於最小值)、最大值(如果值高於最大值)或值本身(如果在範圍內) 來確保提供的值保持在定義的範圍內。

參數
value要限制的值。
minimum最小允許值。
maximum最大允許值。
傳回值
返回限制在最小值和最大值範圍內的值。

LabelMaker.TSPL.Pdf417Barcode.Pdf417Barcode重新實作.

資料成員說明文件

◆ cell_size

LabelMaker.Interfaces.IBcdPdf417.APdf417.cell_size = None

◆ columns

int LabelMaker.Interfaces.IBcdPdf417.APdf417.columns = 0

◆ error_correction

LabelMaker.Interfaces.IBcdPdf417.APdf417.error_correction = Pdf417ErrCorrectionEnum.LEVEL2

◆ rows

int LabelMaker.Interfaces.IBcdPdf417.APdf417.rows = 0

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