Columns Members

Include Protected Members
Include Inherited Members

A collection of Column objects that represent the columns in a table.

The Columns type exposes the following members.

Methods

  Name Description
Public method Add Adds a column to a table.
Public method AutoFit Changes the width of a table column to accommodate the width of the text without changing the way text wraps in the cells.
Public method Delete Deletes the specified object.
Public method DistributeWidth Adjusts the width of the specified columns so that they're equal.
Public method GetEnumerator (Inherited from IEnumerable.)
Public method Select Selects the specified object.
Public method SetWidth Sets the width of columns in a table.

Top

Properties

  Name Description
Public property Application Returns a Application object that represents the creator of the specified object.
Public property Borders Returns or sets a Borders collection that represents all the borders for the specified object.
Public property Count Returns the number of items in the specified collection.
Public property Creator Returns a value that indicates the application in which the specified object was created.
Public property First Returns a Column object that represents the first item in the Columns collection.
Public property Item Returns an individual object in a collection.
Public property Last Returns a Column object that represents the last item in the Columns collection.
Public property NestingLevel Returns the nesting level of the specified columns.
Public property Parent Returns the parent object of the specified object.
Public property PreferredWidth Returns or sets the preferred width (in points or as a percentage of the window width) for the specified columns.
Public property PreferredWidthType Returns or sets the preferred unit of measurement to use for the width of the specified columns.
Public property Shading Returns a Shading object that refers to the shading formatting for the specified object.
Public property Width Returns or sets the width of the specified object in points.

Top

See Also

Reference

Columns Interface

Microsoft.Office.Interop.Word Namespace