Edytuj

Udostępnij za pośrednictwem


Range.RowHeight Property

Definition

Returns the height of all the rows in the range specified, measured in points.

public:
 property System::Object ^ RowHeight { System::Object ^ get(); void set(System::Object ^ value); };
public object RowHeight { get; set; }
Public Property RowHeight As Object

Property Value

Remarks

This property returns Null if the rows in the specified range aren’t all the same height.

For a single row, the value of the Height property is equal to the value of the RowHeight property. However, you can also use the Height property to return the total height of a range of cells.

Other differences between RowHeight and Height include the following:

  • Height is read-only.
  • If you return the RowHeight property of several rows, you will either get the row height of each of the rows (if all the rows are the same height) or Null (if they’re different heights). If you return the Height property of several rows, you will get the total height of all the rows.

Applies to