DSAztecDetails
DSAztecDetails
extends the DSBarcodeDetails
class and represents details specific to an Aztec barcode.
Definition
Assembly: DynamsoftBarcodeReader.xcframework
- Objective-C
- Swift
@interface DSAztecDetails : DSBarcodeDetails
class AztecDetails : BarcodeDetails
Attributes
Attributes | Type | Description |
---|---|---|
rows |
NSInteger | The number of rows of the Aztec barcode. |
columns |
NSInteger | The number of columns in the Aztec barcode. |
layerNumber |
NSInteger | Specifies the layer number of the Aztec barcode. A negative number (-1, -2, -3, -4) specifies a compact Aztec code. A positive number (1, 2, .. 32) specifies a normal (full-range) Aztec code. |
Methods
Method | Description |
---|---|
initWithAztecDetails |
Initializes a new instance of the DSAztecDetails class with the specified row count, column count, and layer number of the barcode. |
rows
The number of rows of the Aztec barcode, indicating how many rows of modules it contains.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger rows;
var rows: Int { get }
columns
The number of columns in the Aztec barcode, indicating how many columns of modules it contains.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger columns;
var columns: Int { get }
layerNumber
Returns the layer number of the Aztec barcode. A negative number (-1, -2, -3, -4) specifies a compact Aztec code, while a positive number (1, 2, .. 32) specifies a normal (full-range) Aztec code. The layer number determines the complexity and capacity of the Aztec barcode.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger layerNumber;
var layerNumber: Int { get }
initWithAztecDetails
Initializes a new instance of the DSAztecDetails
class with the specified row count, column count, and layer number of the Aztec barcode.
- Objective-C
- Swift
- (instancetype)initWithAztecDetails:(NSInteger)rows columns:(NSInteger)columns layerNumber:(NSInteger)layerNumber;
init(rows: Int, columns: Int, layerNumber: Int)
Parameters
rows
: The number of rows in the Aztec barcode.
columns
: The number of columns in the Aztec barcode.
layerNumber
: Specifies the layer number of the Aztec barcode. A negative number (-1, -2, -3, -4) specifies a compact Aztec code. A positive number (1, 2, .. 32) specifies a normal (full-range) Aztec code.