Cell.SetHeight Method
Sets the height of a table cell.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub SetHeight ( _
ByRef RowHeight As Object, _
HeightRule As WdRowHeightRule _
)
'Usage
Dim instance As Cell
Dim RowHeight As Object
Dim HeightRule As WdRowHeightRule
instance.SetHeight(RowHeight, HeightRule)
void SetHeight(
ref Object RowHeight,
WdRowHeightRule HeightRule
)
Parameters
- RowHeight
Type: System.Object%
The height of the row, in points.
- HeightRule
Type: Microsoft.Office.Interop.Word.WdRowHeightRule
The rule for determining the height of the specified cell.
Remarks
Setting the SetHeight property of a Cell object automatically sets the property for the entire row.