QREncodeParams Class Documentation

classQREncodeParams

Namespace:com::datalogics::PDFL

Detailed Description

Used to control how the QR code is created.

Referenced by

Uses types

Constructor & Destructor Documentation

QREncodeParams

QREncodeParams(Stringtext, doublex, doubley, doublewidth, doubleheight, QRErrorCorrectionLevelerrorLevel, longquietZoneSize, QRColorcodeColor, QRColorbackgroundColor)

Parameters

text: String
x: double
y: double
width: double
height: double
errorLevel: QRErrorCorrectionLevel
quietZoneSize: long
codeColor: QRColor
backgroundColor: QRColor

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 void

delete

synchronized voiddelete()

Returns:

synchronized void

finalize

voidfinalize()

Returns:

void

getBackgroundColor

QRColorgetBackgroundColor()

Returns:

QRColor

Get the Color of the Background.

getCodeColor

QRColorgetCodeColor()

Returns:

QRColor

Get the Color of the Code.

getErrorCorrectionLevel

QRErrorCorrectionLevelgetErrorCorrectionLevel()

Returns:

QRErrorCorrectionLevel

Get the Error Correction Level of the code.

getHeight

doublegetHeight()

Returns:

double

Get the Height of the code.

getQuietZoneSize

longgetQuietZoneSize()

Returns:

long

Get the Quiet Zone Size of the code.

getTextToEncode

StringgetTextToEncode()

Returns:

String

Get the Text to be encoded.

getWidth

doublegetWidth()

Returns:

double

Get the Width of the code.

getX

doublegetX()

Returns:

double

Get the X location of the code.

getY

doublegetY()

Returns:

double

Get the Y location of the code.

setBackgroundColor

voidsetBackgroundColor(QRColorbackgroundColor)

Parameters

backgroundColor: QRColor

Returns:

void

Set the Color of the Background.

setCodeColor

voidsetCodeColor(QRColorcodeColor)

Parameters

codeColor: QRColor

Returns:

void

Set the Color of the Code.

setErrorCorrectionLevel

voidsetErrorCorrectionLevel(QRErrorCorrectionLevelerrorLevel)

Parameters

errorLevel: QRErrorCorrectionLevel

Returns:

void

Set the Error Correction Level of the code.

setHeight

voidsetHeight(doubleheight)

Parameters

height: double

Returns:

void

Set the Height of the code.

setQuietZoneSize

voidsetQuietZoneSize(longquiteSize)

Parameters

quiteSize: long

Returns:

void

Set the Quiet Zone Size of the code.

setTextToEncode

voidsetTextToEncode(StringtextToEncode)

Parameters

textToEncode: String

Returns:

void

Set the Text to be encoded.

setWidth

voidsetWidth(doublewidth)

Parameters

width: double

Returns:

void

Set the Width of the code.

setX

voidsetX(doublex)

Parameters

x: double

Returns:

void

Set the X location of the code.

setY

voidsetY(doubley)

Parameters

y: double

Returns:

void

Set the Y location of the code.