PageSetup.TextColumns Property 

Returns a TextColumns collection that represents the set of text columns for the specified PageSetup object.

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

Usage

Dim pageSetup1 As PageSetup

Dim returnValue As TextColumns
returnValue = pageSetup1.TextColumns

Dim sampleValue As TextColumns
pageSetup1.TextColumns = sampleValue

Syntax

Property TextColumns() As TextColumns
TextColumns TextColumns {get; set;}
property TextColumns^ TextColumns{
    TextColumns^ get();
    Void set(TextColumns^);
}
public TextColumns get_TextColumns();
public void set_TextColumns(TextColumns);
function get TextColumns() : TextColumns;
function set TextColumns(TextColumns);

Remarks

There will always be at least one text column in the collection. When you create new text columns, you're adding to a collection of one column.

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

PageSetup Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

PageSetup Members