Dev Center
Swift
Objective-C
Table of contents

DSAztecDetails

DSAztecDetails extends the DSBarcodeDetails class and represents details specific to an Aztec barcode.

Definition

Assembly: DynamsoftBarcodeReader.xcframework

  • Objective-C
  • Swift
  1. @interface DSAztecDetails : DSBarcodeDetails
    
  2. 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
  1. @property(nonatomic, assign, readonly) NSInteger rows;
    
  2. var rows: Int { get }
    

columns

The number of columns in the Aztec barcode, indicating how many columns of modules it contains.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) NSInteger columns;
    
  2. 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
  1. @property(nonatomic, assign, readonly) NSInteger layerNumber;
    
  2. 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
  1. - (instancetype)initWithAztecDetails:(NSInteger)rows
           columns:(NSInteger)columns
       layerNumber:(NSInteger)layerNumber;
    
  2. 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.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.11
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.11
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.13
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
  • Version 8.x
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
    • Version 7.6.0
    • Version 7.5.0
Change +