TextColumnCollection
Overview
TextColumnCollection is a class in Aspose.Words FOSS for Java.
A collection of TextColumn objects that represent all the columns of text in a section of a document.
Edition status of its 15 listed members (a property and its accessor methods are listed separately, overloads once): 15 not yet exercised by a verified example.
This class declares 10 methods for TextColumnCollection objects in Java programs.
Available methods include: get, getCount, getEvenlySpaced, getLineBetween, getSpacing, getWidth, setCount, setEvenlySpaced, setLineBetween, setSpacing.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: count, evenlySpaced, lineBetween, spacing, width.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
evenlySpaced | boolean | Read/Write | True if text columns are of equal width and evenly spaced. |
spacing | double | Read/Write | When columns are evenly spaced, gets or sets the amount of space between each column in points. |
width | double | Read | When columns are evenly spaced, gets the width of the columns. |
lineBetween | boolean | Read/Write | When true, adds a vertical line between columns. |
count | int | Read/Write | Gets the number of columns in the section of a document. |
Methods
| Signature | Description |
|---|---|
setCount(newCount: int) | Arranges text into the specified number of text columns. |
getEvenlySpaced() → boolean | True if text columns are of equal width and evenly spaced. |
setEvenlySpaced(value: boolean) | Sets the evenly spaced value. |
getSpacing() → double | When columns are evenly spaced, gets or sets the amount of space between each column in points. |
setSpacing(value: double) | Sets the spacing value. |
getWidth() → double | When columns are evenly spaced, gets the width of the columns. |
getLineBetween() → boolean | When true, adds a vertical line between columns. |
setLineBetween(value: boolean) | Sets the line between value. |
getCount() → int | Gets the number of columns in the section of a document. |
get(index: int) → TextColumn | Returns a text column at the specified index. |