Cell Members

Include Protected Members
Include Inherited Members

Represents a single table cell.

The Cell type exposes the following members.

Methods

  Name Description
Public method AutoSum Inserts an = (Formula) field that calculates and displays the sum of the values in table cells above or to the left of the cell specified in the expression.
Public method Delete Deletes a table cell and optionally controls how the remaining cells are shifted.
Public method Formula Inserts an = (Formula) field that contains the specified formula into a table cell.
Public method Merge Merges the specified table cell with another cell.
Public method Select Selects the specified object.
Public method SetHeight Sets the height of a table cell.
Public method SetWidth Sets the width of a cell in a table.
Public method Split Splits a single table cell into multiple cells.

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 BottomPadding Returns or sets an amount of space (in points) to add below the contents of a cell.
Public property Column Returns a Column object that represents the table column containing the specified cell.
Public property ColumnIndex Returns a value that indicates the number of the table column that contains the specified cell.
Public property Creator Returns a value that indicates the application in which the specified object was created.
Public property FitText Returns or sets a value that indicates if Microsoft Word visually reduces the size of text typed into a cell so that it fits within the column width.
Public property Height Returns or sets the height of the specified object (in points unless otherwise noted).
Public property HeightRule Returns or sets the rule for determining the height of the specified cell.
Public property ID Returns or sets the rule for determining the height of the specified cell.
Public property LeftPadding Returns or sets the amount of space (in points) to add to the left of the contents of a single cell.
Public property NestingLevel Returns the nesting level of the specified cell.
Public property Next Returns the next object in the collection.
Public property Parent Returns an object that represents 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 cell.
Public property PreferredWidthType Returns or sets the preferred unit of measurement to use for the width of the specified cell.
Public property Previous Returns the previous object in the collection.
Public property Range Returns a Range object that represents the portion of a document that's contained in the specified object.
Public property RightPadding Returns or sets the amount of space (in points) to add to the right of the contents of a cell.
Public property Row Returns a Row object that represents the row containing the specified cell.
Public property RowIndex Returns the number of the row that contains the specified cell.
Public property Shading Returns a Shading object that refers to the shading formatting for the specified object.
Public property Tables Returns a Tables collection that represents all the tables in the specified cell.
Public property TopPadding Returns or sets the amount of space (in points) to add above the contents of a single cell or all the cells in a table.
Public property VerticalAlignment Returns or sets the vertical alignment of text in a cell of a table.
Public property Width Returns or sets the width of the specified object in points.
Public property WordWrap Returns or sets a value that indicates if Microsoft Word wraps text to multiple lines and lengthens the cell so that the cell width remains the same.

Top

See Also

Reference

Cell Interface

Microsoft.Office.Interop.Word Namespace