TextColumnCollection

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

NameTypeAccessDescription
evenlySpacedbooleanRead/WriteTrue if text columns are of equal width and evenly spaced.
spacingdoubleRead/WriteWhen columns are evenly spaced, gets or sets the amount of space between each column in points.
widthdoubleReadWhen columns are evenly spaced, gets the width of the columns.
lineBetweenbooleanRead/WriteWhen true, adds a vertical line between columns.
countintRead/WriteGets the number of columns in the section of a document.

Methods

SignatureDescription
setCount(newCount: int)Arranges text into the specified number of text columns.
getEvenlySpaced() → booleanTrue if text columns are of equal width and evenly spaced.
setEvenlySpaced(value: boolean)Sets the evenly spaced value.
getSpacing() → doubleWhen columns are evenly spaced, gets or sets the amount of space between each column in points.
setSpacing(value: double)Sets the spacing value.
getWidth() → doubleWhen columns are evenly spaced, gets the width of the columns.
getLineBetween() → booleanWhen true, adds a vertical line between columns.
setLineBetween(value: boolean)Sets the line between value.
getCount() → intGets the number of columns in the section of a document.
get(index: int) → TextColumnReturns a text column at the specified index.

See Also