|
ASPOSE home |
java.lang.Objectcom.aspose.words.TextColumns
public class TextColumns
Use To make all columns equal width and spaced evenly, set If you have EvenlySpaced set to false, you need to specify width and spacing for each
column individually. Use the indexer to access individual When using custom column widths, make sure the sum of all column widths and spacings between them
equals page width minus left and right page margins.
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of columns in the section of a document. | ||
boolean | getEvenlySpaced() | |
void | setEvenlySpaced(boolean value) | |
True if text columns are of equal width and evenly spaced. | ||
boolean | getLineBetween() | |
void | setLineBetween(boolean value) | |
When true, adds a vertical line between columns. | ||
double | getSpacing() | |
void | setSpacing(double value) | |
When columns are evenly spaced, gets or sets the amount of space between each column in points. | ||
double | getWidth() | |
When columns are evenly spaced, gets the width of the columns. | ||
TextColumn | get(int index) | |
Returns a text column at the specified index. |
Method Summary | ||
---|---|---|
void | setCount(int newCount) | |
Arranges text into the specified number of text columns. |
Property Getters/Setters Detail |
---|
getEvenlySpaced/setEvenlySpaced | |
public boolean getEvenlySpaced() public void setEvenlySpaced(boolean value) |
getSpacing/setSpacing | |
public double getSpacing() public void setSpacing(double value) |
getWidth | |
public double getWidth() |
Has effect only when
getLineBetween/setLineBetween | |
public boolean getLineBetween() public void setLineBetween(boolean value) |
getCount | |
public int getCount() |
get | |
public TextColumn get(int index) |
Method Detail |
---|
setCount | |
public void setCount(int newCount) throws java.lang.Exception |
When
newCount
- The number of columns the text is to be arranged into.
|
ASPOSE home |