static public method BarcodesMaker.GetQRCode

Brief

Generates a QR code with specified error correction level, version, 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, QRCodeVersion version, 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.

version

The QR code version.

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