Package com.dynamicpdf.api.elements
Class MsiBarcodeElement
java.lang.Object
com.dynamicpdf.api.elements.Element
com.dynamicpdf.api.elements.BarcodeElement
com.dynamicpdf.api.elements.TextBarcodeElement
com.dynamicpdf.api.elements.MsiBarcodeElement
Represents a MSI Barcode element (also known as Modified Plessey).
- 
Constructor Summary
ConstructorsConstructorDescriptionMsiBarcodeElement(String value, ElementPlacement placement, float height)Initializes a new instance of theMsiBarcodeElementclassMsiBarcodeElement(String value, ElementPlacement placement, float height, float xOffset, float yOffset)Initializes a new instance of theMsiBarcodeElementclass - 
Method Summary
Modifier and TypeMethodDescriptionGets a value specifying if the check digit should calculated.floatGets the height of the barcode.voidSets a value specifying if the check digit should calculated.voidsetHeight(float value)Sets the height of the barcode.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
- 
MsiBarcodeElement
public MsiBarcodeElement(String value, ElementPlacement placement, float height, float xOffset, float yOffset)Initializes a new instance of theMsiBarcodeElementclass- 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.
 - 
MsiBarcodeElement
Initializes a new instance of theMsiBarcodeElementclass- Parameters:
 value- The value of the barcode.placement- The placement of the barcode on the page.height- The height of the barcode.
 
 - 
 - 
Method Details
- 
getAppendCheckDigit
Gets a value specifying if the check digit should calculated.- Returns:
 - A value specifying if the check digit should calculated.
 
 - 
setAppendCheckDigit
Sets a value specifying if the check digit should calculated.- Parameters:
 value- A value specifying if the check digit should calculated.
 - 
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.
 
 -