Package com.dynamicpdf.api.elements
Class StackedGs1DataBarBarcodeElement
java.lang.Object
com.dynamicpdf.api.elements.Element
com.dynamicpdf.api.elements.BarcodeElement
com.dynamicpdf.api.elements.TextBarcodeElement
com.dynamicpdf.api.elements.StackedGs1DataBarBarcodeElement
Represents a StackedGS1DataBar barcode element.
 
 
This class can be used to place a StackedGS1DataBar barcode on a page.
- 
Constructor Summary
ConstructorsConstructorDescriptionStackedGs1DataBarBarcodeElement(String value, ElementPlacement placement, StackedGs1DataBarType stackedGs1DataBarType, float rowHeight)Initializes a new instance of theStackedGs1DataBarBarcodeElementclassStackedGs1DataBarBarcodeElement(String value, ElementPlacement placement, StackedGs1DataBarType stackedGs1DataBarType, float rowHeight, float xOffset, float yOffset)Initializes a new instance of theStackedGs1DataBarBarcodeElementclass - 
Method Summary
Modifier and TypeMethodDescriptionintGets the segment count of the Expanded Stacked barcode.floatGets the row height of the barcode.voidsetExpandedStackedSegmentCount(int value)Sets the segment count of the Expanded Stacked barcode.voidsetRowHeight(float value)Sets the row 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
- 
StackedGs1DataBarBarcodeElement
public StackedGs1DataBarBarcodeElement(String value, ElementPlacement placement, StackedGs1DataBarType stackedGs1DataBarType, float rowHeight, float xOffset, float yOffset)Initializes a new instance of theStackedGs1DataBarBarcodeElementclass- Parameters:
 value- The value of the barcode.placement- The placement of the barcode on the page.stackedGs1DataBarType- The StackedGS1DataBarType of the barcode.rowHeight- The row height of the barcode.xOffset- The X coordinate of the barcode.yOffset- The Y coordinate of the barcode.
 - 
StackedGs1DataBarBarcodeElement
public StackedGs1DataBarBarcodeElement(String value, ElementPlacement placement, StackedGs1DataBarType stackedGs1DataBarType, float rowHeight)Initializes a new instance of theStackedGs1DataBarBarcodeElementclass- Parameters:
 value- The value of the barcode.placement- The placement of the barcode on the page.stackedGs1DataBarType- The StackedGS1DataBarType of the barcode.rowHeight- The row height of the barcode.
 
 - 
 - 
Method Details
- 
getExpandedStackedSegmentCount
public int getExpandedStackedSegmentCount()Gets the segment count of the Expanded Stacked barcode.This is used only for the ExpandedStacked Gs1DataBar type.
- Returns:
 - The segment count of the Expanded Stacked barcode.
 
 - 
setExpandedStackedSegmentCount
public void setExpandedStackedSegmentCount(int value)Sets the segment count of the Expanded Stacked barcode.This is used only for the ExpandedStacked Gs1DataBar type.
- Parameters:
 value- The segment count of the Expanded Stacked barcode.
 - 
getRowHeight
public float getRowHeight()Gets the row height of the barcode.- Returns:
 - The row height of the barcode.
 
 - 
setRowHeight
public void setRowHeight(float value)Sets the row height of the barcode.- Parameters:
 value- The row height of the barcode.
 
 -