[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TextColumnCollection

TextColumnCollection Class

Represents a collection of TextColumn objects that represent all columns of text in a section.

Inheritance
TextColumnCollection
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class TextColumnCollection : IEnumerable<TextColumn>, IEnumerable
Public Class TextColumnCollection
    Implements IEnumerable(Of TextColumn), IEnumerable

Properties

Name Description
Count

Gets the number of columns in the section of a document.

EvenlySpaced

Gets or sets a value indicating whether all text columns are of equal width and evenly spaced.

this[int]

Gets a text column at a specified index.

LineBetween

Gets or sets a value indicating whether to add a vertical line between columns.

Spacing

When columns are evenly spaced (see EvenlySpaced), gets or sets the amount of space between each column in points.

Width

When columns are evenly spaced (see EvenlySpaced), gets or sets the width of the columns.

Methods

Name Description
Add()

Adds a new TextColumn to the section.

Add(float)

Adds a new TextColumn to the section.

Add(float, float)

Adds a new TextColumn to the section.

This method sets the EvenlySpaced property to false.

GetEnumerator()

Returns an enumerator that iterates through the collection.

SetCount(short)

Sets the number of columns in a section of a document.