UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode Class Reference

Represents a Maxicode barcode that can be printed. More...

Inheritance diagram for LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode:
LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode LabelMaker.Interfaces.IBcdMaxicode.IMaxicodeBarcode LabelMaker.Interfaces.IBarcode2D.IStartPoint LabelMaker.Interfaces.IBarcode2D.IPositionRuler

Public Member Functions

 __init__ (self, Optional[IPoint] start=None, Optional[IMaxicodeData] data=None)
 Initializes a new instance of the MaxicodeBarcode class with the specified start point and data.
 
str __str__ (self)
 Returns a string that can be sent to the printer.
 

Public Attributes

 start
 
 data
 
 rotation
 
 zipper_pattern
 
- Public Attributes inherited from LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode
 start
 
 data
 
 ruler
 

Additional Inherited Members

- Static Public Attributes inherited from LabelMaker.Interfaces.IBcdMaxicode.IMaxicodeBarcode
IMaxicodeData data
 
IPoint start
 
IRuler ruler
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IStartPoint
IPoint start
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IPositionRuler
IRuler ruler
 

Detailed Description

Represents a Maxicode barcode that can be printed.

This class provides functionality for creating and managing a Maxicode barcode with specified settings and data.

Constructor & Destructor Documentation

◆ __init__()

LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.__init__ ( self,
Optional[IPoint] start = None,
Optional[IMaxicodeData] data = None )

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

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

Reimplemented from LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode.

Member Function Documentation

◆ __str__()

str LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.__str__ ( self)

Returns a string that can be sent to the printer.

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

Returns
A string description of the MaxicodeBarcode instance.

Reimplemented from LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode.

Member Data Documentation

◆ data

LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.data

◆ rotation

LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.rotation

◆ start

LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.start

◆ zipper_pattern

LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.zipper_pattern

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