Cells Members

Include Protected Members
Include Inherited Members

A collection of Cell objects in a table column, table row, selection, or range.

The Cells type exposes the following members.

Methods

  Name Description
Public method Add Adds a cell 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 cells in a table and optionally controls how the remaining cells are shifted.
Public method DistributeHeight Adjusts the height of the specified cells so that they're equal.
Public method DistributeWidth Adjusts the width of the specified cells so that they're equal.
Public method GetEnumerator (Inherited from IEnumerable.)
Public method Merge Merges the specified table cells with one another.
Public method SetHeight Sets the height of table cells.
Public method SetWidth Sets the width of cells in a table.
Public method Split Splits a range of table cells.

Top

Properties

  Name Description
Public property Application Returns an Application object that represents the creator of the specified object.
Public property Borders Returns 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 Height Returns or sets the height of the specified cells in a table.
Public property HeightRule Returns or sets the rule for determining the height of the specified cells.
Public property Item Returns an individual object in a collection.
Public property NestingLevel Returns the nesting level of the specified cells.
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 cells.
Public property PreferredWidthType Returns or sets the preferred unit of measurement to use for the width of the specified cells.
Public property Shading Returns a Shading object that refers to the shading formatting for the specified object.
Public property VerticalAlignment Returns or sets the vertical alignment of text in cells of a table.
Public property Width Returns or sets the width of the specified object, in points.

Top

See Also

Reference

Cells Interface

Microsoft.Office.Interop.Word Namespace