UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
AztecBarcode Class Reference

A class representing an Aztec barcode for TSPL. More...

#include <AztecBarcode.h>

Inheritance diagram for AztecBarcode:
AAztecBarcode ABarcode2D <ISquareCell> <IBarcode2D> <IBarcodeItem_2D> <IPositionRuler> <IRotation>

Instance Methods

(instancetype) - init
 Initializes a new instance of the AztecBarcode class.
 
(instancetype) - initWithStart:data:
 Initializes a new instance of the AztecBarcode class with the specified start point and data.
 
(NSString *) - description
 Returns a string that can be sent to the printer.
 
- Instance Methods inherited from AAztecBarcode
(int) - getLayersWithinRange
 Gets the number of layers within the valid range.
 
(BOOL) - hasLayers
 Checks if the barcode has layers.
 
(int) - getErrCorrectionPercent
 Gets the error correction percentage.
 
- Instance Methods inherited from ABarcode2D
(NSString *) - NS_REQUIRES_SUPER
 

Additional Inherited Members

- Properties inherited from AAztecBarcode
id< ICellSquarecellSize
 The cell size for the barcode.
 
AztecCodeTypeEnum type
 The type of the Aztec barcode.
 
int layers
 The number of layers to use for AztecCodeTypeEnum.Compact or AztecCodeTypeEnum.Full barcode types.
 
int fixedErrCorrection
 This percent error correction value only applies to AztecCodeTypeEnum.FixedErrCorrection.
 
- Properties inherited from ABarcode2D
id< IRulerruler
 
id< IPointstart
 
NSString * data
 
RotateEnum rotation
 
- Properties inherited from <IBarcodeItem_2D>
id< IPointstart
 Position where barcode starts.
 
NSString * data
 The barcode content.
 
- Properties inherited from <IPositionRuler>
id< IRulerruler
 
- Properties inherited from <IRotation>
RotateEnum rotation
 
- Properties inherited from <ISquareCell>
id< ICellSquarecellSize
 Barcode cell size. Larger cell size results in barcodes that take up a larger area.
 

Detailed Description

A class representing an Aztec barcode for TSPL.

This class inherits from AAztecBarcode and provides functionality for initializing and describing Aztec barcodes in TSPL.

Method Documentation

◆ description

- (NSString *) description

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 in TSPL.

Returns
A string description of the AztecBarcode instance.

Reimplemented from <IBarcode2D>.

◆ init

- (instancetype) init

Initializes a new instance of the AztecBarcode class.

Returns
A new instance of AztecBarcode.

Reimplemented from AAztecBarcode.

◆ initWithStart:data:

- (instancetype) initWithStart: (id< IPoint >) start
data: (NSString *) data 

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

Parameters
startThe starting point of the barcode.
dataThe data to be encoded in the barcode.
Returns
A new instance of AztecBarcode.

Reimplemented from AAztecBarcode.


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