Package com.dynamicpdf.api.elements
Class Code25BarcodeElement
java.lang.Object
com.dynamicpdf.api.elements.Element
com.dynamicpdf.api.elements.BarcodeElement
com.dynamicpdf.api.elements.TextBarcodeElement
com.dynamicpdf.api.elements.Code25BarcodeElement
Represents a Code 2 of 5 barcode element.
 
 
This class can be used to place a Code 2 of 5 barcode on a page.
- 
Constructor Summary
ConstructorsConstructorDescriptionCode25BarcodeElement(String value, ElementPlacement placement, float height)Initializes a new instance of theCode25BarcodeElementclassCode25BarcodeElement(String value, ElementPlacement placement, float height, float xOffset, float yOffset)Initializes a new instance of theCode25BarcodeElementclass - 
Method Summary
Methods inherited from class com.dynamicpdf.api.elements.TextBarcodeElement
getFont, getFontSize, getResource, getShowText, getTextColor, getTextFont, setFont, setFontSize, setShowText, setTextColorMethods 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, getXOffset, getYOffset, setEvenPages, setOddPages, setPlacement, setXOffset, setYOffset 
- 
Constructor Details
- 
Code25BarcodeElement
public Code25BarcodeElement(String value, ElementPlacement placement, float height, float xOffset, float yOffset)Initializes a new instance of theCode25BarcodeElementclass- Parameters:
 value- The value of the barcode.placement- The placement of the barcode on the page.height- The height of the barcode.xOffset- The X coordinate of the barcode.yOffset- The Y coordinate of the barcode.
 - 
Code25BarcodeElement
Initializes a new instance of theCode25BarcodeElementclass- Parameters:
 value- The value of the barcode.placement- The placement of the barcode on the page.height- The height of the barcode.
 
 - 
 - 
Method Details
- 
getHeight
public float getHeight()Gets the height of the barcode.- Returns:
 - The height of the barcode.
 
 - 
setHeight
public void setHeight(float value)Sets the height of the barcode.- Parameters:
 value- The height of the barcode.
 
 -