|
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.barcoding.Dim2Barcode
|
+--com.cete.dynamicpdf.pageelements.barcoding.Pdf417
Represents Pdf417 bar code. This class can be used to generate Pdf417 bar code.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
Pdf417(byte[] value,
float x,
float y,
int columns,
float xDimension)
Creates a new instance of Pdf417. |
|
Pdf417(java.lang.String value,
float x,
float y,
int columns,
float xDimension)
Creates a new instance of Pdf417. |
|
| Method Summary | |
void |
draw(PageWriter writer)
Draws the barcode to the given PageWriter object. |
Compaction |
getCompaction()
Gets the type of compaction. |
boolean |
getCompactPdf417()
Gets boolean value true for compact pdf417. |
ErrorCorrection |
getErrorCorrectionLevel()
Gets the error correction level for the PDF417 bar code. |
float |
getSymbolHeight()
Gets required height for drawing PDF417 bar code. |
float |
getSymbolWidth()
Gets required width for drawing PDF417 bar code. |
java.lang.String |
getValue()
Gets the value of the PDF417 barcode. |
float |
getXDimension()
Gets the XDimension of the PDF417 barcode. |
float |
getXDimensionMilliMeters()
Gets the XDimensionMilliMeters of the PDF417 barcode. |
float |
getXDimensionMils()
Gets the XDimensionMils of the PDF417 barcode. |
float |
getXDimensionsPerCentiMeter()
Gets the XDimensionsPerCentiMeter of the PDF417 barcode. |
float |
getXDimensionsPerInch()
Gets the XDimensionsPerInch of the PDF417 barcode. |
float |
getYDimension()
Gets the YDimension of the PDF417 barcode. |
float |
getYDimensionMilliMeters()
Gets the YDimensionMilliMeters of the PDF417 barcode. |
float |
getYDimensionMils()
Gets the YDimensionMils of the PDF417 barcode. |
float |
getYDimensionsPerCentiMeter()
Gets the YDimensionsPerCentiMeter of the PDF417 barcode. |
float |
getYDimensionsPerInch()
Gets the YDimensionsPerInch of the PDF417 barcode. |
void |
setCompaction(Compaction value)
Sets the type of comapction |
void |
setCompactPdf417(boolean compact)
Sets PDF417 as compact one. |
void |
setErrorCorrection(ErrorCorrection level)
Sets the error correcton level for PDF417 barcode. |
void |
setValue(java.lang.String value)
Sets the value of the PDF417 barcode. |
void |
setXDimension(float value)
Sets the XDimension of the PDF417 barcode. |
void |
setXDimensionMilliMeters(float value)
Sets the XDimensionMilliMeters of the PDF417 barcode. |
void |
setXDimensionMils(float value)
Sets the XDimensionMils of the PDF417 barcode. |
void |
setXDimensionsPerCentiMeter(float value)
Sets the XDimensionsPerCentiMeter of the PDF417 barcode. |
void |
setXDimensionsPerInch(float value)
Sets the XDimensionsPerInch of the PDF417 barcode. |
void |
setYDimension(float value)
Sets the YDimension of the PDF417 barcode. |
void |
setYDimensionMilliMeters(float value)
Sets the YDimensionMilliMeters of the PDF417 barcode. |
void |
setYDimensionMils(float value)
Sets the YDimensionMils of the PDF417 barcode. |
void |
setYDimensionsPerCentiMeter(float value)
Sets the YDimensionsPerCentiMeter of the PDF417 barcode. |
void |
setYDimensionsPerInch(float value)
Sets the YDimensionsPerInch of the PDF417 barcode. |
| Methods inherited from class com.cete.dynamicpdf.pageelements.barcoding.Dim2Barcode |
getAngle, getColor, getX, getY, setAngle, setColor, setX, setY |
| 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 Pdf417(java.lang.String value,
float x,
float y,
int columns,
float xDimension)
Pdf417.
value - The string to be encoded.x - The X coordinate of the PDF417 bar code.y - The Y coordinate of the PDF417 bar code.columns - columns of the PDF417 bar code.xDimension - The XDimension of the PDF417 bar code.
public Pdf417(byte[] value,
float x,
float y,
int columns,
float xDimension)
Pdf417.
value - byte array to be encoded.x - The X coordinate of the PDF417 bar code.y - The Y coordinate of the PDF417 bar code.columns - columns of the PDF417 bar code.xDimension - The XDimension of the PDF417 bar code.| Method Detail |
public ErrorCorrection getErrorCorrectionLevel()
ErrorCorrection object.ErrorCorrectionpublic void setErrorCorrection(ErrorCorrection level)
GeneratorException - in case of Data and ErrorCorrection Level mismatch.level - ErrorCorrection level of the PDF417 bar code.public boolean getCompactPdf417()
public void setCompactPdf417(boolean compact)
compact - the boolean value to be used to set compact pdf417.public void draw(PageWriter writer)
draw in class Dim2Barcodewriter - PageWriter object to receive the page element's output.PageWriterpublic Compaction getCompaction()
Comapction object.Compactionpublic void setCompaction(Compaction value)
value - Compaction type of compaction to be applied.Compactionpublic float getSymbolHeight()
public float getSymbolWidth()
public java.lang.String getValue()
public void setValue(java.lang.String value)
public float getXDimension()
public void setXDimension(float value)
public float getXDimensionsPerInch()
public void setXDimensionsPerInch(float value)
public float getXDimensionsPerCentiMeter()
public void setXDimensionsPerCentiMeter(float value)
public float getXDimensionMils()
public void setXDimensionMils(float value)
public float getXDimensionMilliMeters()
public void setXDimensionMilliMeters(float value)
public float getYDimension()
public void setYDimension(float value)
public float getYDimensionsPerInch()
public void setYDimensionsPerInch(float value)
public float getYDimensionsPerCentiMeter()
public void setYDimensionsPerCentiMeter(float value)
public float getYDimensionMils()
public void setYDimensionMils(float value)
public float getYDimensionMilliMeters()
public void setYDimensionMilliMeters(float value)
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||