static public method QRCodesUserAPI.AddQRCode

Brief

Adds a QR code with specified error correction level, version, scale multiplier, color, and background color, with or without a quiet zone, to the repeating area and returns an instance of BarcodeBuilder.

Declaration
C#
BarcodeBuilder  AddQRCode (this RepeatingAreaBuilder area, string data, QRCodeEncodingMethod encoding, QRCodeErrorCorrection levelCorrection, QRCodeVersion version, int scaleMultiplier, Gehtsoft.PDFFlow.Models.Shared.Color foregroundColor, Gehtsoft.PDFFlow.Models.Shared.Color backgroundColor, bool hasQuietZones = True)

Parameters
area

The repeating area to add the QR code to.

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 QRCodesUserAPI

back