Share via


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)

Syntax

'Declaration
Function Add ( _
    ByRef Width As Object, _
    ByRef Spacing As Object, _
    ByRef EvenlySpaced As Object _
) As TextColumn
'Usage
Dim instance As TextColumns
Dim Width As Object
Dim Spacing As Object
Dim EvenlySpaced As Object
Dim returnValue As TextColumn

returnValue = instance.Add(Width, Spacing, _
    EvenlySpaced)
TextColumn Add(
    ref Object Width,
    ref Object Spacing,
    ref Object EvenlySpaced
)

Parameters

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

Return Value

Type: Microsoft.Office.Interop.Word.TextColumn

See Also

Reference

TextColumns Interface

TextColumns Members

Microsoft.Office.Interop.Word Namespace