TextColumns.SetCount Method 

Arranges text into the specified number of text columns.

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

Usage

Dim NumColumns As Integer
Dim textColumns1 As TextColumns
textColumns1.SetCount(NumColumns)

Syntax

Sub SetCount( _
    <InAttribute()> ByVal NumColumns As Integer _
)
void SetCount(
    [In] int NumColumns
);
public: Void SetCount(
    Int32 NumColumns
);
public void SetCount(
    /*in*/int NumColumns
);
function SetCount(
     NumColumns : int
);

Parameters

  • NumColumns
    Required Integer. The number of columns the text is to be arranged into.

Remarks

Note You can also use the Add method of the TextColumns object to add a single column to the TextColumns collection.

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