com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ColumnInfo



  • public final class ColumnInfo
    extends Object

    This class represents a columns info.

    • Constructor Detail

      • ColumnInfo

        public ColumnInfo()

        Initializes a new instance of the ColumnInfo class.

    • Method Detail

      • getColumnWidths

        public String getColumnWidths()

        Gets or sets a string that contains the width of columns. The value of each column should be separated by blank.The default unit is point, but cm, inch and percentage of available width are also supported. For example,"120 2.5cm 1.5inch"

        Returns:
        String value
      • setColumnWidths

        public void setColumnWidths(String value)

        Gets or sets a string that contains the width of columns. The value of each column should be separated by blank.The default unit is point, but cm, inch and percentage of available width are also supported. For example,"120 2.5cm 1.5inch"

        Parameters:
        value - String value
      • getColumnSpacing

        public String getColumnSpacing()

        Gets or sets a string that contains the spacing between columns. The value of each spacing should be separated by blank. The default unit is point, but cm and inch are also supported.For example,"120 2.5cm 1.5inch".


        If this property is not set, default value 1.25cm will be used for each spacing.

        Returns:
        String value
      • setColumnSpacing

        public void setColumnSpacing(String value)

        Gets or sets a string that contains the spacing between columns. The value of each spacing should be separated by blank. The default unit is point, but cm and inch are also supported.For example,"120 2.5cm 1.5inch".


        If this property is not set, default value 1.25cm will be used for each spacing.

        Parameters:
        value - String value
      • getColumnCount

        public int getColumnCount()

        Gets int value that indicates the number of columns.

        Returns:
        column count
      • setColumnCount

        public void setColumnCount(int value)

        Sets int value that indicates the number of columns.

        Parameters:
        value - column count