static public method QRCodesUserAPI.AddQRCodeToParagraph

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 paragraph and returns the ParagraphBuilder.

Declaration
C#
ParagraphBuilder  AddQRCodeToParagraph (this ParagraphBuilder paragraph, 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
paragraph

The paragraph 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