Class AztecParameters
Aztec parameters.
-
Method Summary
Modifier and TypeMethodDescriptionfinal floatHeight/Width ratio of 2D BarCode module.final com.aspose.barcode.generation.AztecEncodeModeDeprecated.Use EncodeMode insteadfinal intDeprecated.Use ErrorLevel insteadfinal AztecSymbolModeDeprecated.Use SymbolMode insteadfinal intGets ECI encoding.final com.aspose.barcode.generation.AztecEncodeModeGets a Aztec encode mode.final intLevel of error correction of Aztec types of barcode.final intGets layers count of Aztec symbol.final intBarcode ID for Structured Append mode of Aztec barcode.final intBarcodes count for Structured Append mode of Aztec barcode.final StringFile ID for Structured Append mode of Aztec barcode (optional field).final AztecSymbolModeGets a Aztec Symbol mode.final booleanUsed to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.final voidsetAspectRatio(float value) Height/Width ratio of 2D BarCode module.final voidsetAztecEncodeMode(com.aspose.barcode.generation.AztecEncodeMode value) Deprecated.Use EncodeMode insteadfinal voidsetAztecErrorLevel(int value) Deprecated.Use ErrorLevel insteadfinal voidDeprecated.Use SymbolMode insteadfinal voidsetECIEncoding(int value) Sets ECI encoding.final voidsetEncodeMode(com.aspose.barcode.generation.AztecEncodeMode value) Sets a Aztec encode mode.final voidsetErrorLevel(int value) Level of error correction of Aztec types of barcode.final voidsetLayersCount(int value) Sets layers count of Aztec symbol.final voidsetReaderInitialization(boolean value) Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.final voidsetStructuredAppendBarcodeId(int value) Barcode ID for Structured Append mode of Aztec barcode.final voidsetStructuredAppendBarcodesCount(int value) Barcodes count for Structured Append mode of Aztec barcode.final voidsetStructuredAppendFileId(String value) File ID for Structured Append mode of Aztec barcode (optional field).final voidsetSymbolMode(AztecSymbolMode value) Sets a Aztec Symbol mode.toString()Returns a human-readable string representation of thisAztecParameters.
-
Method Details
-
getEncodeMode
public final com.aspose.barcode.generation.AztecEncodeMode getEncodeMode()Gets a Aztec encode mode. Default value: Auto.
- Returns:
- a Aztec encode mode.
-
setEncodeMode
public final void setEncodeMode(com.aspose.barcode.generation.AztecEncodeMode value) Sets a Aztec encode mode. Default value: Auto.
- Parameters:
value- a Aztec encode mode.
-
getAztecEncodeMode
Deprecated.Use EncodeMode insteadGets a Aztec encode mode. Default value: Auto.
- Returns:
- a Aztec encode mode.
-
setAztecEncodeMode
@Deprecated public final void setAztecEncodeMode(com.aspose.barcode.generation.AztecEncodeMode value) Deprecated.Use EncodeMode insteadSets a Aztec encode mode. Default value: Auto.
- Parameters:
value- a Aztec encode mode.
-
getECIEncoding
public final int getECIEncoding()Gets ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1
- Returns:
- ECI encoding.
-
setECIEncoding
public final void setECIEncoding(int value) Sets ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1
- Parameters:
value- ECI encoding.
-
getStructuredAppendBarcodeId
public final int getStructuredAppendBarcodeId()Barcode ID for Structured Append mode of Aztec barcode. Barcode ID should be in range from 1 to barcodes count. Default value: 0
-
setStructuredAppendBarcodeId
public final void setStructuredAppendBarcodeId(int value) Barcode ID for Structured Append mode of Aztec barcode. Barcode ID should be in range from 1 to barcodes count. Default value: 0
-
getStructuredAppendBarcodesCount
public final int getStructuredAppendBarcodesCount()Barcodes count for Structured Append mode of Aztec barcode. Barcodes count should be in range from 1 to 26. Default value: 0
-
setStructuredAppendBarcodesCount
public final void setStructuredAppendBarcodesCount(int value) Barcodes count for Structured Append mode of Aztec barcode. Barcodes count should be in range from 1 to 26. Default value: 0
-
getStructuredAppendFileId
File ID for Structured Append mode of Aztec barcode (optional field). File ID should not contain spaces. Default value: empty string
-
setStructuredAppendFileId
File ID for Structured Append mode of Aztec barcode (optional field). File ID should not contain spaces. Default value: empty string
-
getErrorLevel
public final int getErrorLevel()Level of error correction of Aztec types of barcode. Value should between 5 to 95.
-
setErrorLevel
public final void setErrorLevel(int value) Level of error correction of Aztec types of barcode. Value should between 5 to 95.
-
getAztecErrorLevel
Deprecated.Use ErrorLevel insteadLevel of error correction of Aztec types of barcode. Value should between 5 to 95.
-
setAztecErrorLevel
Deprecated.Use ErrorLevel insteadLevel of error correction of Aztec types of barcode. Value should between 5 to 95.
-
getSymbolMode
Gets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
- Returns:
- a Aztec Symbol mode.
-
setSymbolMode
Sets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
- Parameters:
value- a Aztec Symbol mode.
-
getAztecSymbolMode
Deprecated.Use SymbolMode insteadGets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
- Returns:
- a Aztec Symbol mode.
-
setAztecSymbolMode
Deprecated.Use SymbolMode insteadSets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
- Parameters:
value- a Aztec Symbol mode.
-
getLayersCount
public final int getLayersCount()Gets layers count of Aztec symbol. Layers count should be in range from 1 to 3 for Compact mode and in range from 1 to 32 for Full Range mode. Default value: 0 (auto).
- Returns:
- layers count of Aztec symbol.
-
setLayersCount
public final void setLayersCount(int value) Sets layers count of Aztec symbol. Layers count should be in range from 1 to 3 for Compact mode and in range from 1 to 32 for Full Range mode. Default value: 0 (auto).
- Parameters:
value- layers count of Aztec symbol.
-
isReaderInitialization
public final boolean isReaderInitialization()Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.
-
setReaderInitialization
public final void setReaderInitialization(boolean value) Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.
-
getAspectRatio
public final float getAspectRatio()Height/Width ratio of 2D BarCode module.
-
setAspectRatio
public final void setAspectRatio(float value) Height/Width ratio of 2D BarCode module.
-
toString
Returns a human-readable string representation of this
AztecParameters.- Overrides:
toStringin classObject- Returns:
- A string that represents this
AztecParameters.
-