|
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.Aztec
public class Aztec
This class can be used to place an Aztec barcode on a page.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
Aztec(byte[] value,
float x,
float y,
AztecSymbolSize size)
Creates a new instance of Aztec . |
|
Aztec(byte[] value,
float x,
float y,
AztecSymbolSize size,
float xDimension)
Creates a new instance of Aztec . |
|
Aztec(java.lang.String value,
float x,
float y,
AztecSymbolSize size)
Creates a new instance of Aztec . |
|
Aztec(java.lang.String value,
float x,
float y,
AztecSymbolSize size,
float xDimension)
Creates a new instance of Aztec . |
Method Summary | |
---|---|
void |
draw(PageWriter writer)
Draws the Aztec barcode to the given PageWriter object. |
boolean |
getAllowStructuredAppend()
Gets a boolean indicating whether to allow structured append of the overflow barcodes. |
int |
getErrorCorrection()
Gets the error correction value. |
boolean |
getIsReaderInitializationSymbol()
Gets a boolean representing if the barcode is a reader initialization symbol. |
java.lang.String |
getMessageID()
Gets the message id for the overflow barcodes. |
Aztec |
getOverflowAztec()
Returns a new Aztec object. |
Aztec |
getOverflowAztec(float x,
float y)
Returns a new Aztec object. |
boolean |
getProcessTilde()
Gets a boolean indicating whether to process tilde symbol in the input. |
AztecSymbolSize |
getSize()
Gets the barcode size. |
float |
getSymbolHeight()
Returns the Height required to display the aztec barcode. |
float |
getSymbolWidth()
Returns the Width required to display the aztec barcode. |
java.lang.String |
getValue()
Gets the barocode value only if the string value is set. |
void |
setAllowStructuredAppend(boolean value)
Sets a boolean indicating whether to allow structured append of the overflow barcodes. |
void |
setErrorCorrection(int value)
Sets the error correction value. |
void |
setIsReaderInitializationSymbol(boolean value)
Sets a boolean representing if the barcode is a reader initialization symbol. |
void |
setMessageID(java.lang.String value)
Sets the message id for the overflow barcodes. |
void |
setProcessTilde(boolean value)
Sets a boolean indicating whether to process tilde symbol in the input. |
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 Aztec(java.lang.String value, float x, float y, AztecSymbolSize size, float xDimension)
Aztec
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.size
- The AztecSymbolSize
of the barcode.xDimension
- The xDimension of the barcode.public Aztec(java.lang.String value, float x, float y, AztecSymbolSize size)
Aztec
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.size
- The AztecSymbolSize
of the barcode.public Aztec(byte[] value, float x, float y, AztecSymbolSize size, float xDimension)
Aztec
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.size
- The AztecSymbolSize
of the barcode.xDimension
- The xDimension of the barcode.public Aztec(byte[] value, float x, float y, AztecSymbolSize size)
Aztec
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.size
- The AztecSymbolSize
of the barcode.Method Detail |
---|
public int getErrorCorrection()
public void setErrorCorrection(int value)
value
- the error correction value.public boolean getAllowStructuredAppend()
public void setAllowStructuredAppend(boolean value)
value
- a boolean indicating whether to allow structured append of
the overflow barcodes.public java.lang.String getMessageID()
public void setMessageID(java.lang.String value)
value
- the message id for the overflow barcodes.public AztecSymbolSize getSize()
public java.lang.String getValue()
public boolean getIsReaderInitializationSymbol()
public void setIsReaderInitializationSymbol(boolean value)
value
- a boolean representing if the barcode is a reader
initialization symbol.public boolean getProcessTilde()
public void setProcessTilde(boolean value)
value
- a boolean indicating whether to process tilde symbol in the
input.public void draw(PageWriter writer)
PageWriter
object.
draw
in class Dim2Barcode
writer
- PageWriter
object to receive the page
element's output.PageWriter
public Aztec getOverflowAztec()
Aztec
object. View Example
Aztec
object.public Aztec getOverflowAztec(float x, float y)
Aztec
object. View Example
x
- X coordinate of the new object.y
- Y coordinate of the new object.
Aztec
object.public float getSymbolWidth()
getSymbolWidth
in class Dim2Barcode
public float getSymbolHeight()
getSymbolHeight
in class Dim2Barcode
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |