SetHeight Method

See Also         Example         Applies To

Sets the height of table rows or cells.

Syntax

expression.SetHeight(RowHeight, HeightRule)

expression   Required. An expression that returns a Cell, Cells, Row, or Row object.

RowHeight   Required Single. The height of the row or rows, in points.

HeightRule   Optional Variant. The rule for determining the height of the specified cells. Can be one of the following WdRowHeightRule constants: wdRowHeightAtLeast, wdRowHeightAuto, or wdRowHeightExactly. The default value is wdRowHeightAtLeast.

Remarks

Setting the SetHeight property of a Cell or Cells object automatically sets the property for the entire row.