Columns Object Members
Word Developer Reference |
A collection of Column objects that represent the columns in a table.
Methods
Name | Description | |
---|---|---|
Add | Returns a Column object that represents a column added to a table. | |
AutoFit | Changes the width of a table column to accommodate the width of the text without changing the way text wraps in the cells. | |
Delete | Deletes the specified columns. | |
DistributeWidth | Adjusts the width of the specified columns so that they are equal. | |
Item | Returns an individual Column object in a collection. | |
Select | Selects the specified table columns. | |
SetWidth | Sets the width of columns in a table. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the Microsoft Word application. | |
Borders | Returns a Borders collection that represents all the borders for the specified columns. | |
Count | Returns a Long that represents the number of columns in the collection. Read-only. | |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. | |
First | Returns a Column object that represents the first item in the Columns collection. | |
Last | Returns a Column object that represents the last column in a table. | |
NestingLevel | Returns the nesting level of the specified columns. Read-only Long. | |
Parent | Returns an Object that represents the parent object of the specified Columns object. | |
PreferredWidth | Returns or sets the preferred width (in points or as a percentage of the window width) for the specified columns. Read/write Single. | |
PreferredWidthType | Returns or sets the preferred unit of measurement to use for the width of the specified cells, columns, or table. Read/write WdPreferredWidthType. | |
Shading | Returns a Shading object that refers to the shading formatting for the specified table columns. | |
Width | Returns or sets the width of the specified columns, in points. Read/write Long. |