PDF417條碼的基類。 更多...
公開方法(Public Methods) | |
__init__ (self, IPoint start, str data) | |
初始化一個具有起始點和數據的PDF417條碼。 | |
int | limit_range (self, int value, int minimum, int maximum) |
將值的範圍限制在指定的最小值和最大值之間。 | |
![]() | |
str | __str__ (self) |
公開屬性 | |
start | |
data | |
cell_size | |
error_correction | |
rows | |
columns | |
![]() | |
start | |
data | |
ruler | |
rotation | |
靜態公開屬性 | |
IPoint | start |
str | data |
ICellRect | cell_size |
Pdf417ErrCorrectionEnum | error_correction |
int | rows |
int | columns |
![]() | |
IPoint | start |
str | data |
![]() | |
IRuler | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
ICellRect | cell_size |
PDF417條碼的基類。
該類提供了創建PDF417條碼的基本結構和功能,包括起始點、數據、單元格大小、錯誤校正級別 以及行數和列數等屬性。
LabelMaker.Interfaces.IBcdPdf417.APdf417.__init__ | ( | self, | |
IPoint | start, | ||
str | data ) |
初始化一個具有起始點和數據的PDF417條碼。
此構造函數使用指定的起始點和數據內容初始化PDF417條碼,並設置單元格大小、錯誤校正級別、 行數和列數的默認值。
start | 條碼的起始點或位置。 |
data | 要編碼的條碼數據。 |
依據LabelMaker.Interfaces.IBarcode2D.ABarcode2D重新實作.
在LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode, 及 LabelMaker.TSPL.Pdf417Barcode.Pdf417Barcode重新實作.
int LabelMaker.Interfaces.IBcdPdf417.APdf417.limit_range | ( | self, | |
int | value, | ||
int | minimum, | ||
int | maximum ) |
將值的範圍限制在指定的最小值和最大值之間。
該方法通過返回最小值(如果值低於最小值)、最大值(如果值高於最大值)或值本身(如果在範圍內) 來確保提供的值保持在定義的範圍內。
value | 要限制的值。 |
minimum | 最小允許值。 |
maximum | 最大允許值。 |
|
static |
LabelMaker.Interfaces.IBcdPdf417.APdf417.cell_size |
|
static |
LabelMaker.Interfaces.IBcdPdf417.APdf417.columns |
|
static |
LabelMaker.Interfaces.IBcdPdf417.APdf417.data |
|
static |
LabelMaker.Interfaces.IBcdPdf417.APdf417.error_correction |
|
static |
LabelMaker.Interfaces.IBcdPdf417.APdf417.rows |
|
static |
LabelMaker.Interfaces.IBcdPdf417.APdf417.start |