Class StackedGs1DataBarBarcodeElement


public class StackedGs1DataBarBarcodeElement extends TextBarcodeElement
Represents a StackedGS1DataBar barcode element.

This class can be used to place a StackedGS1DataBar barcode on a page.

  • Constructor Details

    • StackedGs1DataBarBarcodeElement

      public StackedGs1DataBarBarcodeElement(String value, ElementPlacement placement, StackedGs1DataBarType stackedGs1DataBarType, float rowHeight, float xOffset, float yOffset)
      Initializes a new instance of the StackedGs1DataBarBarcodeElement class
      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 the StackedGs1DataBarBarcodeElement class
      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.