| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.PageElement
com.cete.dynamicpdf.pageelements.TaggablePageElement
com.cete.dynamicpdf.pageelements.barcoding.Dim2Barcode
com.cete.dynamicpdf.pageelements.barcoding.Pdf417
public class 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 | getXDimensionMilliMeters()Gets the XDimensionMilliMeters of the PDF417 barcode. | 
|  float | getXDimensionMils()Gets the XDimensionMils 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 | setXDimensionMilliMeters(float value)Sets the XDimensionMilliMeters of the PDF417 barcode. | 
|  void | setXDimensionMils(float value)Sets the XDimensionMils 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, getPixelsPerXDimension, getX, getXDimension, getXDimensionsPerCentiMeter, getXDimensionsPerInch, getY, setAngle, setColor, setPixelsPerXDimension, setX, setXDimension, 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 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()
getSymbolHeight in class Dim2Barcodepublic float getSymbolWidth()
getSymbolWidth in class Dim2Barcodepublic java.lang.String getValue()
public void setValue(java.lang.String value)
value - the value of the PDF417 barcode.public float getXDimensionMils()
getXDimensionMils in class Dim2Barcodepublic void setXDimensionMils(float value)
setXDimensionMils in class Dim2Barcodevalue - the XDimensionMils of the PDF417 barcode.public float getXDimensionMilliMeters()
getXDimensionMilliMeters in class Dim2Barcodepublic void setXDimensionMilliMeters(float value)
setXDimensionMilliMeters in class Dim2Barcodevalue - the XDimensionMilliMeters of the PDF417 barcode.public float getYDimension()
public void setYDimension(float value)
value - the YDimension of the PDF417 barcode.public float getYDimensionsPerInch()
public void setYDimensionsPerInch(float value)
value - the YDimensionsPerInch of the PDF417 barcode.public float getYDimensionsPerCentiMeter()
public void setYDimensionsPerCentiMeter(float value)
value - YDimensionsPerCentiMeter of the PDF417 barcode.public float getYDimensionMils()
public void setYDimensionMils(float value)
value - the YDimensionMils of the PDF417 barcode.public float getYDimensionMilliMeters()
public void setYDimensionMilliMeters(float value)
value - the YDimensionMilliMeters of the PDF417 barcode.| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||