UniPRT SDK  v1.0.0.0
AztecBarcode Class Reference
Inheritance diagram for AztecBarcode:
AAztecBarcode ABarcode2D ISquareCell IBarcode2D IBarcodeItem_2D IPositionRuler IRotation

Public Member Functions

 AztecBarcode (IPoint start, String data)
 
ICellSquare GetCellSize ()
 Barcode cell size. Larger cell size results in barcodes that take up a larger area.
 
String GetData ()
 The barcode content.
 
int GetFixedErrCorrection ()
 This percent error correction value only applies to AztecCodeTypeEnum.FixedErrCorrection. More...
 
int GetLayers ()
 The number of layers to use for AztecCodeTypeEnum.Compact or AztecCodeTypeEnum.Full barcode types. More...
 
RotateEnum GetRotation ()
 
IRuler GetRuler ()
 The print resolution can be set in either inch or MM scale. Setting/Updating either scale results in updates to both. More...
 
IPoint GetStart ()
 Position where barcode starts.
 
AztecCodeTypeEnum GetType ()
 
void SetCellSize (ICellSquare cellSize)
 
void SetData (String data)
 
void SetFixedErrCorrection (int fixedErrCorrection)
 
void SetLayers (int layers)
 
void SetRotation (RotateEnum rotation)
 
void SetRuler (IRuler ruler)
 
void SetStart (IPoint start)
 
void SetType (AztecCodeTypeEnum type)
 
String ToString ()
 Returns the string that can be sent to printer.
 
String toString ()
 

Protected Member Functions

int GetLayersWithinRange ()
 

Member Function Documentation

◆ GetFixedErrCorrection()

int GetFixedErrCorrection ( )
inherited

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.

◆ GetLayers()

int GetLayers ( )
inherited

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.

◆ GetRuler()

IRuler GetRuler ( )
inherited

The print resolution can be set in either inch or MM scale. Setting/Updating either scale results in updates to both.

The print resolution must match the resolution of the printer. Incorrect printing will result if a resolution does not match the printer.

Implements IPositionRuler.