UniPRT SDK v2.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode Class Reference

A class representing a PDF417 barcode. More...

Inheritance diagram for LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode:
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

Public Member Functions

 __init__ (self, Optional[IPoint] start=None, Optional[str] data=None)
 Initializes a new instance of the AztecBarcode class with the specified start point and data.
 
str __str__ (self)
 Returns a string that can be sent to the printer.
 
- Public Member Functions inherited from LabelMaker.Interfaces.IBcdPdf417.APdf417
 __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
 __init__ (self, Optional[IPoint] start=None, str data="", Optional[IRuler] ruler=None, RotateEnum rotation=RotateEnum.NONE)
 
str __str__ (self)
 
- Public Member Functions inherited from LabelMaker.Interfaces.IBarcode2D.IBarcode2D
str __str__ (self)
 

Additional Inherited Members

- Public Attributes inherited from LabelMaker.Interfaces.IBcdPdf417.APdf417
 cell_size = None
 
 error_correction = Pdf417ErrCorrectionEnum.LEVEL2
 
int rows = 0
 
int columns = 0
 
- Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start = start
 
 data = data
 
 ruler = ruler or Defaults.ruler()
 
 rotation = rotation
 

Detailed Description

A class representing a PDF417 barcode.

This class inherits from APdf417 and provides functionality for initializing, configuring, and describing PDF417 barcodes. The PDF417 barcode is a two-dimensional barcode format used for encoding large amounts of data and is widely used in applications like transport, identification, and inventory management.

Constructor & Destructor Documentation

◆ __init__()

LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode.__init__ ( self,
Optional[IPoint] start = None,
Optional[str] data = None )

Initializes a new instance of the AztecBarcode class with the specified start point and data.

This constructor sets up a new AztecBarcode object using the provided start point and data. The data represents the information to be encoded within the Aztec barcode.

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

Member Function Documentation

◆ __str__()

str LabelMaker.PGL.Pdf417Barcode.Pdf417Barcode.__str__ ( self)

Returns a string that can be sent to the printer.

This method generates a string representation of the AztecBarcode instance that is formatted and ready to be sent to a printer. The string includes all the necessary commands and data required for printing the Aztec barcode.

Returns
A string description of the AztecBarcode instance.

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