|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.PageElement com.cete.dynamicpdf.pageelements.TaggablePageElement com.cete.dynamicpdf.pageelements.barcoding.Dim2Barcode com.cete.dynamicpdf.pageelements.barcoding.QrCode
public class QrCode
This class can be used to place a QR code on a page.
Licensing:
This class is a DynamicPDF Merger Standard Edition feature.
One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
QrCode(byte[] value,
float x,
float y)
Initializes a new instance of the QrCode class. |
|
QrCode(byte[] value,
float x,
float y,
float xDimension)
Initializes a new instance of the QrCode class. |
|
QrCode(byte[] value,
float x,
float y,
float xDimension,
QrCodeErrorCorrectionLevel errorCorrectionLevel)
Initializes a new instance of the QrCode class. |
|
QrCode(byte[] value,
float x,
float y,
float xDimension,
QrCodeErrorCorrectionLevel errorCorrectionLevel,
QrCodeVersion version)
Initializes a new instance of the QrCode class. |
|
QrCode(byte[] value,
float x,
float y,
QrCodeErrorCorrectionLevel errorCorrectionLevel)
Initializes a new instance of the QrCode class. |
|
QrCode(byte[] value,
float x,
float y,
QrCodeErrorCorrectionLevel errorCorrectionLevel,
QrCodeVersion version)
Initializes a new instance of the QrCode class. |
|
QrCode(java.lang.String text,
float x,
float y)
Initializes a new instance of the QrCode class. |
|
QrCode(java.lang.String text,
float x,
float y,
float xDimension)
Initializes a new instance of the QrCode class. |
|
QrCode(java.lang.String text,
float x,
float y,
float xDimension,
QrCodeEncoding encoding)
Initializes a new instance of the QrCode class. |
|
QrCode(java.lang.String text,
float x,
float y,
float xDimension,
QrCodeEncoding encoding,
QrCodeErrorCorrectionLevel errorCorrectionLevel)
Initializes a new instance of the QrCode class. |
|
QrCode(java.lang.String text,
float x,
float y,
float xDimension,
QrCodeEncoding encoding,
QrCodeErrorCorrectionLevel errorCorrectionLevel,
QrCodeVersion version)
Initializes a new instance of the QrCode class. |
|
QrCode(java.lang.String text,
float x,
float y,
QrCodeEncoding encoding)
Initializes a new instance of the QrCode class. |
|
QrCode(java.lang.String text,
float x,
float y,
QrCodeEncoding encoding,
QrCodeErrorCorrectionLevel errorCorrectionLevel)
Initializes a new instance of the QrCode class. |
|
QrCode(java.lang.String text,
float x,
float y,
QrCodeEncoding encoding,
QrCodeErrorCorrectionLevel errorCorrectionLevel,
QrCodeVersion version)
Initializes a new instance of the QrCode class. |
Method Summary | |
---|---|
void |
draw(PageWriter writer)
Draws QR code to the given ceTe.DynamicPDF.IO.PageWriter object. |
QrCodeFnc1 |
getFnc1()
Gets The FNC1 mode. |
float |
getSymbolHeight()
Gets the height required to display the QR code. |
float |
getSymbolWidth()
Gets the width required to display the QR code. |
int |
getVersion()
Gets the QR code version. |
void |
setFnc1(QrCodeFnc1 value)
Sets The FNC1 mode. |
Methods inherited from class com.cete.dynamicpdf.pageelements.barcoding.Dim2Barcode |
---|
getAngle, getColor, getPixelsPerXDimension, getX, getXDimension, getXDimensionMilliMeters, getXDimensionMils, getXDimensionsPerCentiMeter, getXDimensionsPerInch, getY, setAngle, setColor, setPixelsPerXDimension, setX, setXDimension, setXDimensionMilliMeters, setXDimensionMils, setXDimensionsPerCentiMeter, setXDimensionsPerInch, setY |
Methods inherited from class com.cete.dynamicpdf.pageelements.TaggablePageElement |
---|
getTag, getTagOrder, setTag, setTagOrder |
Methods inherited from class com.cete.dynamicpdf.PageElement |
---|
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QrCode(java.lang.String text, float x, float y)
QrCode
class.
text
- The text of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.public QrCode(java.lang.String text, float x, float y, float xDimension)
QrCode
class.
text
- The text of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.xDimension
- The XDimension of the QR code.public QrCode(java.lang.String text, float x, float y, float xDimension, QrCodeEncoding encoding)
QrCode
class.
text
- The text of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.xDimension
- The XDimension of the QR code.encoding
- The encoding of the QR code.QrCodeEncoding
public QrCode(java.lang.String text, float x, float y, float xDimension, QrCodeEncoding encoding, QrCodeErrorCorrectionLevel errorCorrectionLevel)
QrCode
class.
text
- The text of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.xDimension
- The XDimension of the QR code.encoding
- The encoding of the QR code.errorCorrectionLevel
- The error correction level of QR code.QrCodeEncoding
,
QrCodeErrorCorrectionLevel
public QrCode(java.lang.String text, float x, float y, QrCodeEncoding encoding)
QrCode
class.
text
- The text of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.encoding
- The encoding of the QR code.QrCodeEncoding
public QrCode(java.lang.String text, float x, float y, QrCodeEncoding encoding, QrCodeErrorCorrectionLevel errorCorrectionLevel)
QrCode
class.
text
- The text of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.encoding
- The encoding of the QR code.errorCorrectionLevel
- The error correction level of QR code.QrCodeEncoding
,
QrCodeErrorCorrectionLevel
public QrCode(java.lang.String text, float x, float y, QrCodeEncoding encoding, QrCodeErrorCorrectionLevel errorCorrectionLevel, QrCodeVersion version)
QrCode
class.
text
- The text of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.encoding
- The encoding of the QR code.errorCorrectionLevel
- The error correction level of QR code.version
- The version of the QR code.QrCodeEncoding
,
QrCodeErrorCorrectionLevel
,
QrCodeVersion
public QrCode(java.lang.String text, float x, float y, float xDimension, QrCodeEncoding encoding, QrCodeErrorCorrectionLevel errorCorrectionLevel, QrCodeVersion version)
QrCode
class.
text
- The text of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.xDimension
- The XDimension of the QR code.encoding
- The encoding of the QR code.errorCorrectionLevel
- The error correction level of QR code.version
- The version of the QR code.QrCodeEncoding
,
QrCodeErrorCorrectionLevel
,
QrCodeVersion
public QrCode(byte[] value, float x, float y)
QrCode
class.
value
- The value of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.public QrCode(byte[] value, float x, float y, float xDimension)
QrCode
class.
value
- The value of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.xDimension
- The XDimension of the QR code.public QrCode(byte[] value, float x, float y, float xDimension, QrCodeErrorCorrectionLevel errorCorrectionLevel)
QrCode
class.
value
- The value of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.xDimension
- The XDimension of the QR code.errorCorrectionLevel
- The error Correction Level of the QR code.QrCodeErrorCorrectionLevel
public QrCode(byte[] value, float x, float y, QrCodeErrorCorrectionLevel errorCorrectionLevel)
QrCode
class.
value
- The value of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.errorCorrectionLevel
- The error Correction Level of the QR code.QrCodeErrorCorrectionLevel
public QrCode(byte[] value, float x, float y, QrCodeErrorCorrectionLevel errorCorrectionLevel, QrCodeVersion version)
QrCode
class.
value
- The value of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.errorCorrectionLevel
- The error correction level of QR code.version
- The version of the QR code.QrCodeErrorCorrectionLevel
,
QrCodeVersion
public QrCode(byte[] value, float x, float y, float xDimension, QrCodeErrorCorrectionLevel errorCorrectionLevel, QrCodeVersion version)
QrCode
class.
value
- The value of the QR code.x
- The X coordinate of the QR code.y
- The Y coordinate of the QR code.xDimension
- The XDimension of the QR code.errorCorrectionLevel
- The error correction level of QR code.version
- The version of the QR code.QrCodeErrorCorrectionLevel
,
QrCodeVersion
Method Detail |
---|
public void draw(PageWriter writer)
ceTe.DynamicPDF.IO.PageWriter
object.
draw
in class Dim2Barcode
writer
- PageWriter
public float getSymbolWidth()
getSymbolWidth
in class Dim2Barcode
public float getSymbolHeight()
getSymbolHeight
in class Dim2Barcode
public int getVersion()
public void setFnc1(QrCodeFnc1 value)
value
- QrCodeFnc1
public QrCodeFnc1 getFnc1()
QrCodeFnc1
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |