'Declaration
Public Overloads Function DrawBarcodeAztec( _ ByVal Data As String, _ ByVal Version As BarcodeAztecCodeVersion, _ ByVal EccPercent As Integer, _ ByVal QuietZone As Integer, _ ByVal ModuleSize As Integer, _ ByVal DstX As Single, _ ByVal DstY As Single, _ ByVal FillColorC As Byte, _ ByVal FillColorM As Byte, _ ByVal FillColorY As Byte, _ ByVal FillColorK As Byte, _ ByVal BackColorC As Byte, _ ByVal BackColorM As Byte, _ ByVal BackColorY As Byte, _ ByVal BackColorK As Byte _ ) As GdPictureStatus
public GdPictureStatus DrawBarcodeAztec( string Data, BarcodeAztecCodeVersion Version, int EccPercent, int QuietZone, int ModuleSize, float DstX, float DstY, byte FillColorC, byte FillColorM, byte FillColorY, byte FillColorK, byte BackColorC, byte BackColorM, byte BackColorY, byte BackColorK )
public function DrawBarcodeAztec( Data: String; Version: BarcodeAztecCodeVersion; EccPercent: Integer; QuietZone: Integer; ModuleSize: Integer; DstX: Single; DstY: Single; FillColorC: Byte; FillColorM: Byte; FillColorY: Byte; FillColorK: Byte; BackColorC: Byte; BackColorM: Byte; BackColorY: Byte; BackColorK: Byte ): GdPictureStatus;
public function DrawBarcodeAztec( Data : String, Version : BarcodeAztecCodeVersion, EccPercent : int, QuietZone : int, ModuleSize : int, DstX : float, DstY : float, FillColorC : byte, FillColorM : byte, FillColorY : byte, FillColorK : byte, BackColorC : byte, BackColorM : byte, BackColorY : byte, BackColorK : byte ) : GdPictureStatus;
public: GdPictureStatus DrawBarcodeAztec( string* Data, BarcodeAztecCodeVersion Version, int EccPercent, int QuietZone, int ModuleSize, float DstX, float DstY, byte FillColorC, byte FillColorM, byte FillColorY, byte FillColorK, byte BackColorC, byte BackColorM, byte BackColorY, byte BackColorK )
public: GdPictureStatus DrawBarcodeAztec( String^ Data, BarcodeAztecCodeVersion Version, int EccPercent, int QuietZone, int ModuleSize, float DstX, float DstY, byte FillColorC, byte FillColorM, byte FillColorY, byte FillColorK, byte BackColorC, byte BackColorM, byte BackColorY, byte BackColorK )
Parameters
- Data
- The data to encode using the required barcode symbol.
- Version
- A member of the BarcodeAztecCodeVersion enumeration. The version of the Aztec Code.
You can use the BarcodeAztecCodeVersion.BarcodeAztecCodeVersionAuto to let the engine decide the minimum version required to encode all specified data.
- EccPercent
- The percentage of error correction level. These levels are defined in terms of percentage of codewords in the barcode symbol that can be corrected if damaged.
You can use the values between 5 and 95, otherwise the default value 23 is used.
- QuietZone
- The number of modules composing the quiet zone, although this barcode symbol does not require any mandatory quiet zone.
- ModuleSize
- The size of each module within the drawn symbol, in points.
The module is the smallest cell in the symbol. The module size has to be made out of at least 2×2 printed dots for bigger reliability, therefore the recommended value for this parameter is 4 and greater.
- DstX
- The horizontal (X) coordinate of the destination point, expressed in the current units specified by the SetMeasurementUnit method with respect to the defined origin, related to the currently selected page.
- DstY
- The vertical (Y) coordinate of the destination point, expressed in the current units specified by the SetMeasurementUnit method with respect to the defined origin, related to the currently selected page.
- FillColorC
- The amount of cyan color to be used for the symbol's resulting fill color. Use the value between 0 and 255.
- FillColorM
- The amount of magenta color to be used for the symbol's resulting fill color. Use the value between 0 and 255.
- FillColorY
- The amount of yellow color to be used for the symbol's resulting fill color. Use the value between 0 and 255.
- FillColorK
- The amount of black color to be used for the symbol's resulting fill color. Use the value between 0 and 255.
- BackColorC
- The amount of cyan color to be used for the symbol's resulting background color. Use the value between 0 and 255.
- BackColorM
- The amount of magenta color to be used for symbol's resulting background color. Use the value between 0 and 255.
- BackColorY
- The amount of yellow color to be used for symbol's resulting background color. Use the value between 0 and 255.
- BackColorK
- The amount of black color to be used for symbol's resulting background color. Use the value between 0 and 255.
Return Value
We strongly recommend always checking this status first.