Cell.SetHeight(Object, WdRowHeightRule) Method

Definition

Sets the height of a table cell.

public:
 void SetHeight(System::Object ^ % RowHeight, Microsoft::Office::Interop::Word::WdRowHeightRule HeightRule);
public void SetHeight (ref object RowHeight, Microsoft.Office.Interop.Word.WdRowHeightRule HeightRule);
abstract member SetHeight : obj * Microsoft.Office.Interop.Word.WdRowHeightRule -> unit
Public Sub SetHeight (ByRef RowHeight As Object, HeightRule As WdRowHeightRule)

Parameters

RowHeight
Object

The height of the row, in points.

HeightRule
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.

Applies to