A class representing an Aztec barcode for TSPL. More...
#include <AztecBarcode.h>
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. | |
![]() | |
(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. | |
![]() | |
(NSString *) | - NS_REQUIRES_SUPER |
Additional Inherited Members | |
![]() | |
id< ICellSquare > | cellSize |
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. | |
![]() | |
id< IRuler > | ruler |
id< IPoint > | start |
NSString * | data |
RotateEnum | rotation |
![]() | |
id< IPoint > | start |
Position where barcode starts. | |
NSString * | data |
The barcode content. | |
![]() | |
id< IRuler > | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
id< ICellSquare > | cellSize |
Barcode cell size. Larger cell size results in barcodes that take up a larger area. | |
A class representing an Aztec barcode for TSPL.
This class inherits from AAztecBarcode and provides functionality for initializing and describing Aztec barcodes in TSPL.
- (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.
Reimplemented from <IBarcode2D>.
- (instancetype) init |
Initializes a new instance of the AztecBarcode class.
Reimplemented from AAztecBarcode.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (NSString *) | data |
Initializes a new instance of the AztecBarcode class with the specified start point and data.
start | The starting point of the barcode. |
data | The data to be encoded in the barcode. |
Reimplemented from AAztecBarcode.