public class AztecParameters
extends java.lang.Object
Aztec parameters.
Modifier and Type | Method and Description |
---|---|
float |
getAspectRatio()
Height/Width ratio of 2D BarCode module.
|
com.aspose.barcode.generation.AztecEncodeMode |
getAztecEncodeMode()
Gets a Aztec encode mode.
|
int |
getAztecErrorLevel()
Level of error correction of Aztec types of barcode.
|
AztecSymbolMode |
getAztecSymbolMode()
Gets a Aztec Symbol mode.
|
java.nio.charset.Charset |
getCodeTextEncoding()
Deprecated.
|
int |
getECIEncoding()
Gets ECI encoding.
|
int |
getLayersCount()
Gets layers count of Aztec symbol.
|
int |
getStructuredAppendBarcodeId()
Barcode ID for Structured Append mode of Aztec barcode.
|
int |
getStructuredAppendBarcodesCount()
Barcodes count for Structured Append mode of Aztec barcode.
|
java.lang.String |
getStructuredAppendFileId()
File ID for Structured Append mode of Aztec barcode (optional field).
|
boolean |
isReaderInitialization()
Used to instruct the reader to interpret the data contained within the symbol
as programming for reader initialization.
|
void |
setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
|
void |
setAztecEncodeMode(com.aspose.barcode.generation.AztecEncodeMode value)
Sets a Aztec encode mode.
|
void |
setAztecErrorLevel(int value)
Level of error correction of Aztec types of barcode.
|
void |
setAztecSymbolMode(AztecSymbolMode value)
Sets a Aztec Symbol mode.
|
void |
setCodeTextEncoding(java.nio.charset.Charset value)
Deprecated.
|
void |
setECIEncoding(int value)
Sets ECI encoding.
|
void |
setLayersCount(int value)
Sets layers count of Aztec symbol.
|
void |
setReaderInitialization(boolean value)
Used to instruct the reader to interpret the data contained within the symbol
as programming for reader initialization.
|
void |
setStructuredAppendBarcodeId(int value)
Barcode ID for Structured Append mode of Aztec barcode.
|
void |
setStructuredAppendBarcodesCount(int value)
Barcodes count for Structured Append mode of Aztec barcode.
|
void |
setStructuredAppendFileId(java.lang.String value)
File ID for Structured Append mode of Aztec barcode (optional field).
|
java.lang.String |
toString()
Returns a human-readable string representation of this
AztecParameters . |
public com.aspose.barcode.generation.AztecEncodeMode getAztecEncodeMode()
Gets a Aztec encode mode. Default value: Auto.
public void setAztecEncodeMode(com.aspose.barcode.generation.AztecEncodeMode value)
Sets a Aztec encode mode. Default value: Auto.
public int getECIEncoding()
Gets ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1
public void setECIEncoding(int value)
Sets ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1
public 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
public 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
public int getStructuredAppendBarcodesCount()
Barcodes count for Structured Append mode of Aztec barcode. Barcodes count should be in range from 1 to 26. Default value: 0
public 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
public java.lang.String getStructuredAppendFileId()
File ID for Structured Append mode of Aztec barcode (optional field). File ID should not contain spaces. Default value: empty string
public void setStructuredAppendFileId(java.lang.String value)
File ID for Structured Append mode of Aztec barcode (optional field). File ID should not contain spaces. Default value: empty string
public int getAztecErrorLevel()
Level of error correction of Aztec types of barcode. Value should between 5 to 95.
public void setAztecErrorLevel(int value)
Level of error correction of Aztec types of barcode. Value should between 5 to 95.
public AztecSymbolMode getAztecSymbolMode()
Gets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
public void setAztecSymbolMode(AztecSymbolMode value)
Sets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
public 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).
public 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).
public boolean isReaderInitialization()
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.
public void setReaderInitialization(boolean value)
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.
public float getAspectRatio()
Height/Width ratio of 2D BarCode module.
public void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
@Deprecated public java.nio.charset.Charset getCodeTextEncoding()
Gets the encoding of codetext. Default value: UTF-8
@Deprecated public void setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext. Default value: UTF-8
public java.lang.String toString()
Returns a human-readable string representation of this AztecParameters
.
toString
in class java.lang.Object
AztecParameters
.