TextColumns.Add Method 

Returns a TextColumn object that represents a new text column added to a section or document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim Width As Object
Dim Spacing As Object
Dim EvenlySpaced As Object
Dim returnValue As TextColumn
Dim textColumns1 As TextColumns
returnValue = textColumns1.Add(Width, Spacing, EvenlySpaced)

Syntax

Function Add( _
    <InAttribute()> Optional ByRef Width As Object, _
    <InAttribute()> Optional ByRef Spacing As Object, _
    <InAttribute()> Optional ByRef EvenlySpaced As Object _
) As TextColumn
TextColumn Add(
    [In, Optional] ref object Width, 
    [In, Optional] ref object Spacing, 
    [In, Optional] ref object EvenlySpaced
);
public: TextColumn^ Add(
    &Object^ Width, 
    &Object^ Spacing, 
    &Object^ EvenlySpaced
);
public TextColumn Add(
    /*in*/System.Object Width, 
    /*in*/System.Object Spacing, 
    /*in*/System.Object EvenlySpaced
);
function Add(
     Width : Object, 
     Spacing : Object, 
     EvenlySpaced : Object
) : TextColumn;

Parameters

  • Width
    Optional Object. The width of the new text column in the document, in points.
  • Spacing
    Optional Object. The spacing between the text columns in the document, in points.
  • EvenlySpaced
    Optional Object. True to evenly space all the text columns be in the document.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

TextColumns Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

TextColumns Members