com.aspose.pdf.elements
Class ColumnInfo

java.lang.Object
  extended by com.aspose.pdf.elements.ColumnInfo

public class ColumnInfo
extends java.lang.Object

Encapsulates info for page columns.


Constructor Summary
ColumnInfo()
          Initializes a new instance of the ColumnInfo class.
 
Method Summary
 int getColumnCount()
          Gets an int value that indicates the number of columns in each page in the section.
 java.lang.String getColumnSpacing()
          Gets a string that contains the spacing between columns in each page in the section.
The value of each spacing should be separated by blank.
 java.lang.String getColumnWidths()
          Gets a string that contains the width of columns in each page in the section.
 void setColumnCount(int count)
          Sets a int value that indicates the number of columns in each page in the section.
 void setColumnSpacing(java.lang.String spacing)
          Sets a string that contains the spacing between columns in each page in the section.
The value of each spacing should be separated by blank.
 void setColumnWidths(java.lang.String widths)
          Sets a string that contains the width of columns in each page in the section.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnInfo

public ColumnInfo()
Initializes a new instance of the ColumnInfo class.

Method Detail

getColumnCount

public int getColumnCount()
Gets an int value that indicates the number of columns in each page in the section.

Returns:
Returns the ColumnCount.

setColumnCount

public void setColumnCount(int count)
Sets a int value that indicates the number of columns in each page in the section.

Parameters:
count - The ColumnCount to set.

getColumnSpacing

public java.lang.String getColumnSpacing()
Gets a string that contains the spacing between columns in each page in the section.
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".

Returns:
Returns the ColumnSpacing.

setColumnSpacing

public void setColumnSpacing(java.lang.String spacing)
Sets a string that contains the spacing between columns in each page in the section.
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".

Parameters:
spacing - The ColumnSpacing to set.

getColumnWidths

public java.lang.String getColumnWidths()
Gets a string that contains the width of columns in each page in the section.
The value of each column should be separated by blank.The default unit is point,
but cm and inch are also supported.For example,"120 2.5cm 1.5inch". The max column number is 16.

Returns:
Returns the ColumnWidths.

setColumnWidths

public void setColumnWidths(java.lang.String widths)
Sets a string that contains the width of columns in each page in the section.
The value of each column should be separated by blank.The default unit is point,
but cm and inch are also supported.For example,"120 2.5cm 1.5inch". The max column number is 16.

Parameters:
widths - The ColumnWidths to set.