Base class for PDF417 barcode. More...
Public Member Functions | |
__init__ (self, IPoint start, str data) | |
Initializes a PDF417 barcode with a start point and data. | |
int | limit_range (self, int value, int minimum, int maximum) |
Limits the range of a value to a specified minimum and maximum. | |
![]() | |
str | __str__ (self) |
Public Attributes | |
start | |
data | |
cell_size | |
error_correction | |
rows | |
columns | |
![]() | |
start | |
data | |
ruler | |
rotation | |
Static Public Attributes | |
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 |
Base class for PDF417 barcode.
This class provides the base structure and functionality for creating a PDF417 barcode, which includes properties such as the starting point, data, cell size, error correction level, and the number of rows and columns.
LabelMaker.Interfaces.IBcdPdf417.APdf417.__init__ | ( | self, | |
IPoint | start, | ||
str | data ) |
Initializes a PDF417 barcode with a start point and data.
This constructor initializes the PDF417 barcode with a specified starting point and data content, and sets default values for cell size, error correction level, rows, and columns.
start | The starting point or position of the barcode. |
data | The barcode data to be encoded. |
Reimplemented from LabelMaker.Interfaces.IBarcode2D.ABarcode2D.
Reimplemented in LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode, and LabelMaker.TSPL.Pdf417Barcode.Pdf417Barcode.
int LabelMaker.Interfaces.IBcdPdf417.APdf417.limit_range | ( | self, | |
int | value, | ||
int | minimum, | ||
int | maximum ) |
Limits the range of a value to a specified minimum and maximum.
This method ensures that the provided value stays within the defined range by returning the minimum if the value is below it, the maximum if above it, or the value itself if it is within range.
value | The value to be limited. |
minimum | The minimum allowable value. |
maximum | The maximum allowable value. |
Reimplemented in LabelMaker.TSPL.Pdf417Barcode.Pdf417Barcode.
|
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 |