QREncodeParams Class Documentation
class QREncodeParams : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
Used to control how the QR code is created.
Referenced by
Uses types
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: stringThe text string to encode in the QR code.
x: doubleThe X coordinate of the lower-left corner of the QR code on the page, in user space units.
y: doubleThe Y coordinate of the lower-left corner of the QR code on the page, in user space units.
width: doubleThe width of the QR code, in user space units.
height: doubleThe height of the QR code, in user space units.
errorLevel: QRErrorCorrectionLevelThe error correction level for the QR code.
quietZoneSize: uintThe size of the quiet zone (margin) around the QR code, in modules.
codeColor: QRColorThe color of the QR code modules (the dark elements).
backgroundColor: QRColorThe 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