static public method BarcodesMaker.GetQRCode

Brief

Generates a QR code with the automatically defined version and specified error correction level, pixel scaling, color, background color, and quiet zone from the input data and returns the QR code image as an array of bytes.

Declaration
C#
Byte[]  GetQRCode (string data, QRCodeEncodingMethod encoding, QRCodeErrorCorrection levelCorrection, int scaleMultiplier, Color foregroundColor, Color backgroundColor, bool hasQuietZones = True)

Parameters
data

The user data for encoding.

encoding

The QR code encoding.

levelCorrection

The level of error correction.

scaleMultiplier

The pixel scaling of the resulting QR code image.

foregroundColor

The QR code color.

backgroundColor

The background color.

hasQuietZones

Defines whether the QR code has a "quiet zone".

Declared in BarcodesMaker

back