AztecSymbolMode Enumeration |
Specifies the Aztec symbol mode.
Namespace:
Aspose.BarCode
Assembly:
Aspose.BarCode (in Aspose.BarCode.dll) Version: 20.11.0
Syntaxpublic enum AztecSymbolMode
Public Enumeration AztecSymbolMode
public enum class AztecSymbolMode
Members|
| Member name | Value | Description |
|---|
| Auto | 0 |
Specifies to automatically pick up the best symbol (Compact or Full-range) for Aztec.
This is default value.
|
| Compact | 1 |
Specifies the Compact symbol for Aztec.
Aztec Compact symbol permits only 1, 2, 3 or 4 layers.
|
| FullRange | 2 |
Specifies the Full-range symbol for Aztec.
Aztec Full-range symbol permits from 1 to 32 layers.
|
| Rune | 3 |
Specifies 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
This sample shows how to change Aztec Symbol mode and save a BarCode image.
[C#]
using (Aspose.BarCode.Generation.BarcodeGenerator generator = new Aspose.BarCode.Generation.BarcodeGenerator(EncodeTypes.Aztec))
{
generator.CodeText = "125";
generator.Parameters.Barcode.Aztec.AztecSymbolMode = AztecSymbolMode.Rune;
generator.Save("test.png");
}
[VB.NET]
Using generator As New Aspose.BarCode.Generation.BarcodeGenerator(EncodeTypes.Aztec)
generator.CodeText = "125"
generator.Parameters.Barcode.Aztec.AztecSymbolMode = AztecSymbolMode.Rune
generator.Save("test.png")
End Using
See Also