AztecSymbolMode

AztecSymbolMode enumeration

Specifies the Aztec symbol mode.

public enum AztecSymbolMode

Values

NameValueDescription
AUTO0Specifies to automatically pick up the best symbol (COMPACT or FULL-range) for Aztec. This is default value.
COMPACT1Specifies the COMPACT symbol for Aztec. Aztec COMPACT symbol permits only 1, 2, 3 or 4 layers.
FULL_RANGE2Specifies the FULL-range symbol for Aztec. Aztec FULL-range symbol permits from 1 to 32 layers.
RUNE3Specifies the RUNE symbol for Aztec. Aztec Runes are a series of small but distinct machine-readable marks. It permits only number value from 0 to 255.

Examples

let generator = new BarcodeGenerator(EncodeTypes.AZTEC);
generator.setCodeText("125");
generator.getParameters().getBarcode().getAztec().setAztecSymbolMode(AztecSymbolMode.RUNE);
generator.save("test.png", BarCodeImageFormat.PNG);

See Also