Cells.SetHeight Method
Sets the height of table cells.
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 Cells
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 or rows, in points.
- HeightRule
Type: Microsoft.Office.Interop.Word.WdRowHeightRule
The rule for determining the height of the specified cells.
Remarks
Setting the SetHeight property of a Cells object automatically sets the property for the entire row.