Package com.dynamicpdf.api.elements
Class Pdf417BarcodeElement
java.lang.Object
com.dynamicpdf.api.elements.Element
com.dynamicpdf.api.elements.BarcodeElement
com.dynamicpdf.api.elements.Dim2BarcodeElement
com.dynamicpdf.api.elements.Pdf417BarcodeElement
Represents Pdf417 barcode element.
 
 
This class can be used to generate Pdf417 barcode symbol.
- 
Constructor Summary
ConstructorsConstructorDescriptionPdf417BarcodeElement(byte[] value, ElementPlacement placement, int columns)Initializes a new instance of thePdf417BarcodeElementclass.Pdf417BarcodeElement(byte[] value, ElementPlacement placement, int columns, float xOffset, float yOffset)Initializes a new instance of thePdf417BarcodeElementclass.Pdf417BarcodeElement(String value, ElementPlacement placement, int columns)Initializes a new instance of thePdf417BarcodeElementclass.Pdf417BarcodeElement(String value, ElementPlacement placement, int columns, float xOffset, float yOffset)Initializes a new instance of thePdf417BarcodeElementclass. - 
Method Summary
Modifier and TypeMethodDescriptionintGets the columns of the barcode.Gets the type of compaction.booleanGets the Compact Pdf417.Gets the error correction level for the PDF417 barcode.booleanGets a boolean indicating whether to process the tilde character.floatGets the YDimension of the barcode.voidsetColumns(int value)Sets the columns of the barcode.voidsetCompaction(Compaction value)Sets the type of compaction.voidsetCompactPdf417(boolean value)Sets the Compact Pdf417.voidsetErrorCorrection(ErrorCorrection value)Sets the error correction level for the PDF417 barcode.voidsetProcessTilde(boolean value)Sets a boolean indicating whether to process the tilde character.voidsetYDimension(float value)Sets the YDimension of the barcode.Methods inherited from class com.dynamicpdf.api.elements.BarcodeElement
getColor, getValue, getXDimension, setColor, setValue, setXDimensionMethods inherited from class com.dynamicpdf.api.elements.Element
getEvenPages, getOddPages, getPlacement, getResource, getTextFont, getXOffset, getYOffset, setEvenPages, setOddPages, setPlacement, setXOffset, setYOffset 
- 
Constructor Details
- 
Pdf417BarcodeElement
public Pdf417BarcodeElement(String value, ElementPlacement placement, int columns, float xOffset, float yOffset)Initializes a new instance of thePdf417BarcodeElementclass.- Parameters:
 value- String to be encoded.placement- The placement of the barcode on the page.columns- >Columns of the PDF417 barcode.xOffset- The X coordinate of the PDF417 barcode.yOffset- The Y coordinate of the PDF417 barcode.
 - 
Pdf417BarcodeElement
Initializes a new instance of thePdf417BarcodeElementclass.- Parameters:
 value- String to be encoded.placement- The placement of the barcode on the page.columns- >Columns of the PDF417 barcode.
 - 
Pdf417BarcodeElement
public Pdf417BarcodeElement(byte[] value, ElementPlacement placement, int columns, float xOffset, float yOffset)Initializes a new instance of thePdf417BarcodeElementclass.- Parameters:
 value- String to be encoded.placement- The placement of the barcode on the page.columns- >Columns of the PDF417 barcode.xOffset- The X coordinate of the PDF417 barcode.yOffset- The Y coordinate of the PDF417 barcode.
 - 
Pdf417BarcodeElement
Initializes a new instance of thePdf417BarcodeElementclass.- Parameters:
 value- String to be encoded.placement- The placement of the barcode on the page.columns- >Columns of the PDF417 barcode.
 
 - 
 - 
Method Details
- 
getColumns
public int getColumns()Gets the columns of the barcode.- Returns:
 - The columns of the barcode.
 
 - 
setColumns
public void setColumns(int value)Sets the columns of the barcode.- Parameters:
 value- The columns of the barcode.
 - 
getYDimension
public float getYDimension()Gets the YDimension of the barcode.- Returns:
 - The YDimension of the barcode.
 
 - 
setYDimension
public void setYDimension(float value)Sets the YDimension of the barcode.- Parameters:
 value- The YDimension of the barcode.
 - 
getProcessTilde
public boolean getProcessTilde()Gets a boolean indicating whether to process the tilde character.- Returns:
 - A boolean indicating whether to process the tilde character.
 
 - 
setProcessTilde
public void setProcessTilde(boolean value)Sets a boolean indicating whether to process the tilde character.- Parameters:
 value- A boolean indicating whether to process the tilde character.
 - 
getCompactPdf417
public boolean getCompactPdf417()Gets the Compact Pdf417.- Returns:
 - The Compact Pdf417.
 
 - 
setCompactPdf417
public void setCompactPdf417(boolean value)Sets the Compact Pdf417.- Parameters:
 value- The Compact Pdf417.
 - 
getErrorCorrection
Gets the error correction level for the PDF417 barcode.- Returns:
 - Returns a 
ErrorCorrectionobject. 
 - 
setErrorCorrection
Sets the error correction level for the PDF417 barcode.- Parameters:
 value- The error correction level for the PDF417 barcode.
 - 
getCompaction
Gets the type of compaction.- Returns:
 - a 
Compactionobject. 
 - 
setCompaction
Sets the type of compaction.- Parameters:
 value- The type of compaction.
 
 -