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

Base class for Aztec 2D barcode. More...

#include <AAztecBarcode.h>

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

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.
 
- Instance Methods inherited from ABarcode2D
(NSString *) - NS_REQUIRES_SUPER
 
- Instance Methods inherited from <IBarcode2D>
(NSString *) - description
 Returns the string that can be sent to printer.
 

Properties

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

Base class for Aztec 2D barcode.

Method Documentation

◆ getErrCorrectionPercent

- (int) getErrCorrectionPercent

Gets the error correction percentage.

Returns
The error correction percentage.

◆ getLayersWithinRange

- (int) getLayersWithinRange

Gets the number of layers within the valid range.

Returns
The number of layers.

◆ hasLayers

- (BOOL) hasLayers

Checks if the barcode has layers.

Returns
YES if the barcode has layers, NO otherwise.

◆ init

- (instancetype) init

Initializes a new instance of the AAztecBarcode class.

Reimplemented in PglAztecBarcode, and AztecBarcode.

◆ initWithStart:data:

- (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.

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

Reimplemented in PglAztecBarcode, and AztecBarcode.

Property Documentation

◆ cellSize

- (id<ICellSquare>) cellSize
readwritenonatomicstrong

The cell size for the barcode.

◆ fixedErrCorrection

- (int) fixedErrCorrection
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.

◆ layers

- (int) layers
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.

◆ type

- (AztecCodeTypeEnum) type
readwritenonatomicassign

The type of the Aztec barcode.


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