UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode Class Referenceabstract

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

Inheritance diagram for com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode:
com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D com.UniPRT.Sdk.LabelMaker.Interface.ISquareCell com.UniPRT.Sdk.LabelMaker.Interface.IBarcode2D com.UniPRT.Sdk.LabelMaker.Interface.IBarcodeItem_2D com.UniPRT.Sdk.LabelMaker.Interface.IPositionRuler com.UniPRT.Sdk.LabelMaker.Interface.IRotation com.UniPRT.Sdk.LabelMaker.PGL.AztecBarcode com.UniPRT.Sdk.LabelMaker.TSPL.AztecBarcode

Public Member Functions

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

Protected Member Functions

 AAztecBarcode ()
 
 AAztecBarcode (IPoint start, String data)
 
int GetLayersWithinRange ()
 

Private Member Functions

int GetLayersWithinRange (int layers)
 

Private Attributes

ICellSquare cellSize = Defaults.GetCellSize()
 
AztecCodeTypeEnum type = AztecCodeTypeEnum.Default
 
int fixedErrCorrection = 23
 
int layers = 1
 

Detailed Description

Base class for Aztec 2D barcode.

Constructor & Destructor Documentation

◆ AAztecBarcode() [1/2]

com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.AAztecBarcode ( )
protected

◆ AAztecBarcode() [2/2]

Member Function Documentation

◆ GetCellSize()

ICellSquare com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.GetCellSize ( )

◆ GetFixedErrCorrection()

int com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.GetFixedErrCorrection ( )

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.

References com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.fixedErrCorrection.

Referenced by com.UniPRT.Sdk.LabelMaker.PGL.AztecBarcode.toString(), and com.UniPRT.Sdk.LabelMaker.TSPL.AztecBarcode.toString().

◆ GetLayers()

int com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.GetLayers ( )

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.

References com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.layers.

◆ GetLayersWithinRange() [1/2]

◆ GetLayersWithinRange() [2/2]

◆ GetType()

◆ SetCellSize()

void com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetCellSize ( ICellSquare  cellSize)

◆ SetFixedErrCorrection()

void com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetFixedErrCorrection ( int  fixedErrCorrection)

◆ SetLayers()

void com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetLayers ( int  layers)

◆ SetType()

void com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetType ( AztecCodeTypeEnum  type)

◆ toString()

abstract String com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.toString ( )
abstract

Member Data Documentation

◆ cellSize

◆ fixedErrCorrection

int com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.fixedErrCorrection = 23
private

◆ layers

◆ type


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