'Declaration
Public Overloads Function DrawBarcodeMicroMicroQrCode( _ ByVal Data As String, _ ByVal EncodingMode As BarcodeQREncodingMode, _ ByVal ErrorCorrectionLevel As BarcodeMicroQRErrorCorrectionLevel, _ ByVal Version As Integer, _ ByVal QuietZone As Integer, _ ByVal ModuleSize As Integer, _ ByVal DstX As Single, _ ByVal DstY As Single, _ ByVal FillColorR As Byte, _ ByVal FillColorG As Byte, _ ByVal FillColorB As Byte, _ ByVal BackColorR As Byte, _ ByVal BackColorG As Byte, _ ByVal BackColorB As Byte _ ) As GdPictureStatus
public GdPictureStatus DrawBarcodeMicroMicroQrCode( string Data, BarcodeQREncodingMode EncodingMode, BarcodeMicroQRErrorCorrectionLevel ErrorCorrectionLevel, int Version, int QuietZone, int ModuleSize, float DstX, float DstY, byte FillColorR, byte FillColorG, byte FillColorB, byte BackColorR, byte BackColorG, byte BackColorB )
public function DrawBarcodeMicroMicroQrCode( Data: String; EncodingMode: BarcodeQREncodingMode; ErrorCorrectionLevel: BarcodeMicroQRErrorCorrectionLevel; Version: Integer; QuietZone: Integer; ModuleSize: Integer; DstX: Single; DstY: Single; FillColorR: Byte; FillColorG: Byte; FillColorB: Byte; BackColorR: Byte; BackColorG: Byte; BackColorB: Byte ): GdPictureStatus;
public function DrawBarcodeMicroMicroQrCode( Data : String, EncodingMode : BarcodeQREncodingMode, ErrorCorrectionLevel : BarcodeMicroQRErrorCorrectionLevel, Version : int, QuietZone : int, ModuleSize : int, DstX : float, DstY : float, FillColorR : byte, FillColorG : byte, FillColorB : byte, BackColorR : byte, BackColorG : byte, BackColorB : byte ) : GdPictureStatus;
public: GdPictureStatus DrawBarcodeMicroMicroQrCode( string* Data, BarcodeQREncodingMode EncodingMode, BarcodeMicroQRErrorCorrectionLevel ErrorCorrectionLevel, int Version, int QuietZone, int ModuleSize, float DstX, float DstY, byte FillColorR, byte FillColorG, byte FillColorB, byte BackColorR, byte BackColorG, byte BackColorB )
public: GdPictureStatus DrawBarcodeMicroMicroQrCode( String^ Data, BarcodeQREncodingMode EncodingMode, BarcodeMicroQRErrorCorrectionLevel ErrorCorrectionLevel, int Version, int QuietZone, int ModuleSize, float DstX, float DstY, byte FillColorR, byte FillColorG, byte FillColorB, byte BackColorR, byte BackColorG, byte BackColorB )
Parameters
- Data
- The data to encode using the required Micro QR Code symbol. Specifically the amount of data that can be stored in a Micro QR Code is max. 35 numerals.
- EncodingMode
- A member of the BarcodeQREncodingMode enumeration. The QR Code encoding mode.
Choosing the correct encoding mode and the lowest error correction (2) will help ensure the symbol is as small as possible.
- ErrorCorrectionLevel
- A member of the BarcodeMicroQRErrorCorrectionLevel enumeration. The error correction level.
These levels are defined in terms of percentage of codewords in the barcode that can be corrected if damaged. The higher the error correction level, the less storage capacity.
- Version
- The version of the Micro QR Code, it specifies the overall dimensions of the symbol.
Micro QR Codes can be generated in 4 different symbol versions, from 21 x 21 modules (version M1) to 17 x 17 modules (version M4), therefore the range for this parameter is 0 - 4. You can use 0 to let the engine decide the minimum version required to encode all specified data.
- QuietZone
- The number of modules composing the quiet zone.
The quiet zone is the margin area around the Micro QR Code symbol, that does not contain any information. It separates the symbol from its surroundings. Specifically, Micro QR Code requires only a two-module wide margin at all four sides of a symbol.
- 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.
- FillColorR
- The amount of red color to be used for the symbol's resulting fill color. Use the value between 0 and 255.
- FillColorG
- The amount of green color to be used for the symbol's resulting fill color. Use the value between 0 and 255.
- FillColorB
- The amount of blue color to be used for the symbol's resulting fill color. Use the value between 0 and 255.
- BackColorR
- The amount of red color to be used for the symbol's resulting background color. Use the value between 0 and 255.
- BackColorG
- The amount of green color to be used for the symbol's resulting background color. Use the value between 0 and 255.
- BackColorB
- The amount of blue color to be used for the symbol's resulting background color. Use the value between 0 and 255.
Return Value
We strongly recommend always checking this status first.