Base class for Aztec 2D barcode. More...
#include <AAztecBarcode.h>
Instance Methods | |
(instancetype) | - init |
Initializes a new instance of the AAztecBarcode class. | |
(instancetype) | - initWithStart:data: |
Initializes a new instance of the AAztecBarcode class with the specified start point and data. | |
(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 |
![]() | |
(NSString *) | - description |
Returns the string that can be sent to printer. | |
Properties | |
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. | |
Base class for Aztec 2D barcode.
- (int) getErrCorrectionPercent |
Gets the error correction percentage.
- (int) getLayersWithinRange |
Gets the number of layers within the valid range.
- (BOOL) hasLayers |
Checks if the barcode has layers.
- (instancetype) init |
Initializes a new instance of the AAztecBarcode class.
Reimplemented in PglAztecBarcode, and AztecBarcode.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (NSString *) | NS_DESIGNATED_INITIALIZER |
Initializes a new instance of the AAztecBarcode class with the specified start point and data.
start | The starting point of the Aztec barcode. |
data | The data to be encoded in the Aztec barcode. |
Reimplemented in PglAztecBarcode, and AztecBarcode.
|
readwritenonatomicstrong |
The cell size for the barcode.
|
readwritenonatomicassign |
This percent error correction value only applies to AztecCodeTypeEnum.FixedErrCorrection.
Valid range: 1 - 99. Any values outside of range will be ignored and limited to be within range.
|
readwritenonatomicassign |
The number of layers to use for AztecCodeTypeEnum.Compact or AztecCodeTypeEnum.Full barcode types.
Valid range: 1 - 4 for AztecCodeTypeEnum.Compact barcode type.
Valid range: 1 - 32 for AztecCodeTypeEnum.Full barcode type.
Any values outside of range will be ignored and limited to be within range.
|
readwritenonatomicassign |
The type of the Aztec barcode.