public final class ColumnInfo extends Object
This class represents a columns info.
Constructor and Description |
---|
ColumnInfo()
Initializes a new instance of the ColumnInfo class.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Gets int value that indicates the number of columns.
|
String |
getColumnSpacing()
Gets or sets a string that contains the spacing between columns.
|
String |
getColumnWidths()
Gets or sets a string that contains the width of columns.
|
void |
setColumnCount(int value)
Sets int value that indicates the number of columns.
|
void |
setColumnSpacing(String value)
Gets or sets a string that contains the spacing between columns.
|
void |
setColumnWidths(String value)
Gets or sets a string that contains the width of columns.
|
public ColumnInfo()
Initializes a new instance of the ColumnInfo class.
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"
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"
value
- String valuepublic 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.
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 0 will be used for each spacing.
value
- String valuepublic int getColumnCount()
Gets int value that indicates the number of columns.
public void setColumnCount(int value)
Sets int value that indicates the number of columns.
value
- column count