com.aspose.barcode.generation

Class Pdf417Parameters

  • java.lang.Object
    • com.aspose.barcode.generation.Pdf417Parameters


  • public class Pdf417Parameters
    extends java.lang.Object

    PDF417 parameters.

    • Method Detail

      • getPdf417CompactionMode

        public Pdf417CompactionMode getPdf417CompactionMode()

        Pdf417 symbology type of BarCode's compaction mode. Default value: Pdf417CompactionMode.AUTO.

      • setPdf417CompactionMode

        public void setPdf417CompactionMode(Pdf417CompactionMode value)

        Pdf417 symbology type of BarCode's compaction mode. Default value: Pdf417CompactionMode.AUTO.

      • getPdf417ErrorLevel

        public Pdf417ErrorLevel getPdf417ErrorLevel()

        Gets Pdf417 symbology type of BarCode's error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.

      • setPdf417ErrorLevel

        public void setPdf417ErrorLevel(Pdf417ErrorLevel value)

        Sets Pdf417 symbology type of BarCode's error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.

      • getPdf417Truncate

        public boolean getPdf417Truncate()

        Whether Pdf417 symbology type of BarCode is truncated (to reduce space).

      • setPdf417Truncate

        public void setPdf417Truncate(boolean value)

        Whether Pdf417 symbology type of BarCode is truncated (to reduce space).

      • getColumns

        public int getColumns()

        Columns count.

      • setColumns

        public void setColumns(int value)

        Columns count.

      • getRows

        public int getRows()

        Rows count.

      • setRows

        public void setRows(int value)

        Rows count.

      • getAspectRatio

        public float getAspectRatio()

        Height/Width ratio of 2D BarCode module.

      • setAspectRatio

        public void setAspectRatio(float value)

        Height/Width ratio of 2D BarCode module.

      • getPdf417MacroFileID

        public int getPdf417MacroFileID()

        Gets macro Pdf417 barcode's file ID. Used for MacroPdf417.

      • setPdf417MacroFileID

        public void setPdf417MacroFileID(int value)

        Sets macro Pdf417 barcode's file ID. Used for MacroPdf417.

      • getPdf417MacroSegmentID

        public int getPdf417MacroSegmentID()

        Gets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.

      • setPdf417MacroSegmentID

        public void setPdf417MacroSegmentID(int value)

        Sets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.

      • getPdf417MacroSegmentsCount

        public int getPdf417MacroSegmentsCount()

        Gets macro Pdf417 barcode segments count.

      • setPdf417MacroSegmentsCount

        public void setPdf417MacroSegmentsCount(int value)

        Sets macro Pdf417 barcode segments count.

      • getCodeTextEncoding

        public java.nio.charset.Charset getCodeTextEncoding()

        Gets the encoding of codetext. Default value: UTF-8

      • setCodeTextEncoding

        public void setCodeTextEncoding(java.nio.charset.Charset value)

        Sets the encoding of codetext. Default value: UTF-8

      • getPdf417ECIEncoding

        public int getPdf417ECIEncoding()
        Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings.
      • setPdf417ECIEncoding

        public void setPdf417ECIEncoding(int value)
        Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings.
      • isReaderInitialization

        public boolean isReaderInitialization()
        Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization
        Returns:
      • setReaderInitialization

        public void setReaderInitialization(boolean value)
        Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization
        Parameters:
        value -
      • toString

        public java.lang.String toString()

        Returns a human-readable string representation of this Pdf417Parameters.

        Overrides:
        toString in class java.lang.Object
        Returns:
        A string that represents this Pdf417Parameters.