QREncodeParams Class Documentation
classQREncodeParamsNamespace:com::datalogics::PDFL
Detailed Description
Used to control how the QR code is created.
Referenced by
Uses types
Constructor & Destructor Documentation
QREncodeParams
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: longThe 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.
Member Function Documentation
DisposeChildren
voidDisposeChildren()Returns:
void[static initializer]
static void[static initializer]()delete
synchronized voiddelete(Booleandisposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized voiddelete()Returns:
synchronized voidfinalize
voidfinalize()Returns:
voidgetBackgroundColor
QRColorgetBackgroundColor()Returns:
QRColorGet the color of the background behind the QR code modules.
getCodeColor
QRColorgetCodeColor()Returns:
QRColorGet the color of the QR code modules (the dark elements).
getErrorCorrectionLevel
QRErrorCorrectionLevelgetErrorCorrectionLevel()Returns:
QRErrorCorrectionLevelGet the error correction level of the QR code.
getHeight
doublegetHeight()Returns:
doubleGet the height of the QR code, in user space units.
getQuietZoneSize
longgetQuietZoneSize()Returns:
longGet the quiet zone size (margin around the QR code), in modules.
getTextToEncode
StringgetTextToEncode()Returns:
StringGet the text string to be encoded in the QR code.
getWidth
doublegetWidth()Returns:
doubleGet the width of the QR code, in user space units.
getX
doublegetX()Returns:
doubleGet the X coordinate of the lower-left corner of the QR code on the page, in user space units.
getY
doublegetY()Returns:
doubleGet the Y coordinate of the lower-left corner of the QR code on the page, in user space units.
setBackgroundColor
voidsetBackgroundColor(QRColorbackgroundColor)Parameters
backgroundColor: QRColor
Returns:
voidSet the color of the background behind the QR code modules.
setCodeColor
voidsetCodeColor(QRColorcodeColor)Parameters
codeColor: QRColor
Returns:
voidSet the color of the QR code modules (the dark elements).
setErrorCorrectionLevel
voidsetErrorCorrectionLevel(QRErrorCorrectionLevelerrorLevel)Parameters
errorLevel: QRErrorCorrectionLevel
Returns:
voidSet the error correction level of the QR code.
setHeight
voidsetHeight(doubleheight)Parameters
height: double
Returns:
voidSet the height of the QR code, in user space units.
setQuietZoneSize
voidsetQuietZoneSize(longquiteSize)Parameters
quiteSize: long
Returns:
voidSet the quiet zone size (margin around the QR code), in modules.
setTextToEncode
voidsetTextToEncode(StringtextToEncode)Parameters
textToEncode: String
Returns:
voidSet the text string to be encoded in the QR code.
setWidth
voidsetWidth(doublewidth)Parameters
width: double
Returns:
voidSet the width of the QR code, in user space units.
setX
voidsetX(doublex)Parameters
x: double
Returns:
voidSet the X coordinate of the lower-left corner of the QR code on the page, in user space units.
setY
voidsetY(doubley)Parameters
y: double
Returns:
voidSet the Y coordinate of the lower-left corner of the QR code on the page, in user space units.