RowHeight

This property returns and sets the height, in twips, of the specified row.

Syntax

object.RowHeight(number)[= value]

Parameters

object
Object expression that evaluates to a Grid control.
number
Integer. Number of the row in the Grid control, or 1 to set all rows at once.
value
Single. Numeric expression that specifies the height, in twips, of the row.

Remarks

The RowHeight property is unavailable at design time.

You can set RowHeight to 0 to create invisible rows or to –1 to reset the row height to its default value, which depends on the size of the current font.

RowHeight is independent of the form's scale mode.