Compartir a través de


Row.HeightRule Property

Word Developer Reference

Returns or sets the rule for determining the height of the specified cells or rows. Read/write WdRowHeightRule.

Syntax

expression.HeightRule

expression   Required. A variable that represents a Row object.

Example

This example creates a 3x3 table in a new document and then sets a minimum row height of 24 points for the second row.

Visual Basic for Applications
  Set newDoc = Documents.Add
Set myTable = newDoc.Tables.Add(Range:=Selection.Range, _
    NumRows:=3, NumColumns:=3)
With myTable.Rows(2)
    .Height = 24
    .HeightRule = wdRowHeightAtLeast
End With

See Also