Base class for Aztec 2D barcode. More...
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 () |
![]() | |
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 |
Base class for Aztec 2D barcode.
|
protected |
|
protected |
ICellSquare com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.GetCellSize | ( | ) |
Barcode cell size. Larger cell size results in barcodes that take up a larger area.
Implements com.UniPRT.Sdk.LabelMaker.Interface.ISquareCell.
References com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.cellSize.
Referenced by com.UniPRT.Sdk.LabelMaker.PGL.AztecBarcode.toString(), and com.UniPRT.Sdk.LabelMaker.TSPL.AztecBarcode.toString().
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().
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.
|
protected |
References com.UniPRT.Sdk.LabelMaker.Enum.AztecCodeTypeEnum.Compact, com.UniPRT.Sdk.LabelMaker.Enum.AztecCodeTypeEnum.Full, com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.layers, and com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.type.
Referenced by com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetLayers(), com.UniPRT.Sdk.LabelMaker.PGL.AztecBarcode.toString(), and com.UniPRT.Sdk.LabelMaker.TSPL.AztecBarcode.toString().
|
private |
AztecCodeTypeEnum com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.GetType | ( | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetCellSize | ( | ICellSquare | cellSize | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetFixedErrCorrection | ( | int | fixedErrCorrection | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetLayers | ( | int | layers | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetType | ( | AztecCodeTypeEnum | type | ) |
|
abstract |
Reimplemented from com.UniPRT.Sdk.LabelMaker.Abstract.ABarcode2D.
Reimplemented in com.UniPRT.Sdk.LabelMaker.TSPL.AztecBarcode, and com.UniPRT.Sdk.LabelMaker.PGL.AztecBarcode.
|
private |
|
private |
|
private |
Referenced by com.UniPRT.Sdk.LabelMaker.TSPL.AztecBarcode.CalculateAztecModuleCount(), com.UniPRT.Sdk.LabelMaker.TSPL.AztecBarcode.CalculateTotalCodewordsForLayers(), com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.GetLayers(), com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.GetLayersWithinRange(), and com.UniPRT.Sdk.LabelMaker.Abstract.AAztecBarcode.SetLayers().
|
private |