QREncodeParams Class Documentation

class QREncodeParams : SystemIDisposable

Namespace:Datalogics::PDFL

Inherits from:
SystemIDisposable

Detailed Description

Used to control how the QR code is created.

Referenced by

Constructor & Destructor Documentation

QREncodeParams

QREncodeParams(string text, double x, double y, double width, double height, QRErrorCorrectionLevel errorLevel, uint quietZoneSize, QRColor codeColor, QRColor backgroundColor)

Parameters

text: string

The text string to encode in the QR code.

x: double

The X coordinate of the lower-left corner of the QR code on the page, in user space units.

y: double

The Y coordinate of the lower-left corner of the QR code on the page, in user space units.

width: double

The width of the QR code, in user space units.

height: double

The height of the QR code, in user space units.

errorLevel: QRErrorCorrectionLevel

The error correction level for the QR code.

quietZoneSize: uint

The size of the quiet zone (margin) around the QR code, in modules.

codeColor: QRColor

The color of the QR code modules (the dark elements).

backgroundColor: QRColor

The color of the background behind the QR code modules.

Create a new QREncodeParams object using the specified values.

Property Documentation

BackgroundColor

QRColor BackgroundColor[get, set]

Get the color of the background behind the QR code modules.

CodeColor

QRColor CodeColor[get, set]

Get the color of the QR code modules (the dark elements).

ErrorCorrectionLevel

QRErrorCorrectionLevel ErrorCorrectionLevel[get, set]

Get the error correction level of the QR code.

Height

double Height[get, set]

Get the height of the QR code, in user space units.

QuietZoneSize

uint QuietZoneSize[get, set]

Get the quiet zone size (margin around the QR code), in modules.

TextToEncode

string TextToEncode[get, set]

Get the text string to be encoded in the QR code.

Width

double Width[get, set]

Get the width of the QR code, in user space units.

X

double X[get, set]

Get the X coordinate of the lower-left corner of the QR code on the page, in user space units.

Y

double Y[get, set]

Get the Y coordinate of the lower-left corner of the QR code on the page, in user space units.

Member Function Documentation

Dispose

void Dispose()

Returns:

void