ColumnInfo

Inheritance: java.lang.Object, com.aspose.pdf.ColumnInfo

public final class ColumnInfo extends Object

This class represents a column’s info.

Constructors

ConstructorDescription
ColumnInfoInitializes a new instance of the ColumnInfo class.

Methods

MethodDescription
getColumnCountGets int value that indicates the number of columns.
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 0 will be used for each spacing.

getColumnWidthsGets 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”
setColumnCountSets int value that indicates the number of columns.
setColumnSpacing

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 0 will be used for each spacing.

setColumnWidthsGets 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”

ColumnInfo

public ColumnInfo()

Initializes a new instance of the ColumnInfo class.

getColumnCount

public int getColumnCount()

Gets int value that indicates the number of columns.

Returns: column count

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 0 will be used for each spacing.

Returns: String value

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

setColumnCount

public void setColumnCount(int value)

Sets int value that indicates the number of columns.

Parameters:

ParameterTypeDescription
valuecolumn count

setColumnSpacing

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 0 will be used for each spacing.

setColumnWidths

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”