PDF417条形码的基类。 更多...
Public 成员函数 | |
__init__ (self, IPoint start, str data) | |
初始化一个具有起始点和数据的PDF417条形码。 | |
int | limit_range (self, int value, int minimum, int maximum) |
将值的范围限制在指定的最小值和最大值之间。 | |
![]() | |
str | __str__ (self) |
Public 属性 | |
start | |
data | |
cell_size | |
error_correction | |
rows | |
columns | |
![]() | |
start | |
data | |
ruler | |
rotation | |
静态 Public 属性 | |
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 |