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()
Deprecated.
Use EncodeMode instead
|
int |
getAztecErrorLevel()
Deprecated.
Use ErrorLevel instead
|
AztecSymbolMode |
getAztecSymbolMode()
Deprecated.
Use SymbolMode instead
|
int |
getECIEncoding()
Gets ECI encoding.
|
com.aspose.barcode.generation.AztecEncodeMode |
getEncodeMode()
Gets a Aztec encode mode.
|
int |
getErrorLevel()
Level of error correction of Aztec types of barcode.
|
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).
|
AztecSymbolMode |
getSymbolMode()
Gets a Aztec Symbol mode.
|
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)
Deprecated.
Use EncodeMode instead
|
void |
setAztecErrorLevel(int value)
Deprecated.
Use ErrorLevel instead
|
void |
setAztecSymbolMode(AztecSymbolMode value)
Deprecated.
Use SymbolMode instead
|
void |
setECIEncoding(int value)
Sets ECI encoding.
|
void |
setEncodeMode(com.aspose.barcode.generation.AztecEncodeMode value)
Sets a Aztec encode mode.
|
void |
setErrorLevel(int value)
Level of error correction of Aztec types of barcode.
|
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).
|
void |
setSymbolMode(AztecSymbolMode value)
Sets a Aztec Symbol mode.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
AztecParameters. |
public final com.aspose.barcode.generation.AztecEncodeMode getEncodeMode()
Gets a Aztec encode mode. Default value: Auto.
public final void setEncodeMode(com.aspose.barcode.generation.AztecEncodeMode value)
Sets a Aztec encode mode. Default value: Auto.
value - a Aztec encode mode.@Deprecated public final com.aspose.barcode.generation.AztecEncodeMode getAztecEncodeMode()
Gets a Aztec encode mode. Default value: Auto.
@Deprecated public final void setAztecEncodeMode(com.aspose.barcode.generation.AztecEncodeMode value)
Sets a Aztec encode mode. Default value: Auto.
value - a Aztec encode mode.public final int getECIEncoding()
Gets ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1
public final void setECIEncoding(int value)
Sets ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1
value - ECI encoding.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
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
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
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
public final 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 final 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 final int getErrorLevel()
Level of error correction of Aztec types of barcode. Value should between 5 to 95.
public final void setErrorLevel(int value)
Level of error correction of Aztec types of barcode. Value should between 5 to 95.
@Deprecated public final int getAztecErrorLevel()
Level of error correction of Aztec types of barcode. Value should between 5 to 95.
@Deprecated public final void setAztecErrorLevel(int value)
Level of error correction of Aztec types of barcode. Value should between 5 to 95.
public final AztecSymbolMode getSymbolMode()
Gets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
public final void setSymbolMode(AztecSymbolMode value)
Sets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
value - a Aztec Symbol mode.@Deprecated public final AztecSymbolMode getAztecSymbolMode()
Gets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
@Deprecated public final void setAztecSymbolMode(AztecSymbolMode value)
Sets a Aztec Symbol mode. Default value: AztecSymbolMode.Auto.
value - a Aztec Symbol mode.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).
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).
value - layers count of Aztec symbol.public final boolean isReaderInitialization()
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.
public final void setReaderInitialization(boolean value)
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.
public final float getAspectRatio()
Height/Width ratio of 2D BarCode module.
public final void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
public java.lang.String toString()
Returns a human-readable string representation of this AztecParameters.
toString in class java.lang.ObjectAztecParameters.