UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.Interfaces.IBcdPdf417.APdf417 Class Reference

Base class for PDF417 barcode. More...

Inheritance diagram for 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 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.
 
- Public Member Functions inherited from LabelMaker.Interfaces.IBarcode2D.ABarcode2D
str __str__ (self)
 

Public Attributes

 start
 
 data
 
 cell_size
 
 error_correction
 
 rows
 
 columns
 
- Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start
 
 data
 
 ruler
 
 rotation
 

Static Public Attributes

IPoint start
 
str data
 
ICellRect cell_size
 
Pdf417ErrCorrectionEnum error_correction
 
int rows
 
int columns
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D
IPoint start
 
str data
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IPositionRuler
IRuler ruler
 
- Static Public Attributes inherited from LabelMaker.Interfaces.ISettings.IRotation
RotateEnum rotation
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IRectangleCell
ICellRect cell_size
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

Parameters
startThe starting point or position of the barcode.
dataThe barcode data to be encoded.

Reimplemented from LabelMaker.Interfaces.IBarcode2D.ABarcode2D.

Reimplemented in LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode, and LabelMaker.TSPL.Pdf417Barcode.Pdf417Barcode.

Member Function Documentation

◆ limit_range()

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.

Parameters
valueThe value to be limited.
minimumThe minimum allowable value.
maximumThe maximum allowable value.
Returns
Returns the value limited within the minimum and maximum range.

Reimplemented in LabelMaker.TSPL.Pdf417Barcode.Pdf417Barcode.

Member Data Documentation

◆ cell_size [1/2]

ICellRect LabelMaker.Interfaces.IBcdPdf417.APdf417.cell_size
static

◆ cell_size [2/2]

LabelMaker.Interfaces.IBcdPdf417.APdf417.cell_size

◆ columns [1/2]

int LabelMaker.Interfaces.IBcdPdf417.APdf417.columns
static

◆ columns [2/2]

LabelMaker.Interfaces.IBcdPdf417.APdf417.columns

◆ data [1/2]

str LabelMaker.Interfaces.IBcdPdf417.APdf417.data
static

◆ data [2/2]

LabelMaker.Interfaces.IBcdPdf417.APdf417.data

◆ error_correction [1/2]

Pdf417ErrCorrectionEnum LabelMaker.Interfaces.IBcdPdf417.APdf417.error_correction
static

◆ error_correction [2/2]

LabelMaker.Interfaces.IBcdPdf417.APdf417.error_correction

◆ rows [1/2]

int LabelMaker.Interfaces.IBcdPdf417.APdf417.rows
static

◆ rows [2/2]

LabelMaker.Interfaces.IBcdPdf417.APdf417.rows

◆ start [1/2]

IPoint LabelMaker.Interfaces.IBcdPdf417.APdf417.start
static

◆ start [2/2]

LabelMaker.Interfaces.IBcdPdf417.APdf417.start

The documentation for this class was generated from the following file: