Compartir a través de


WorksheetBase.StandardHeight Property

Definition

Gets the standard (default) height of all the rows in the worksheet, in points.

public:
 property double StandardHeight { double get(); };
public double StandardHeight { get; }
member this.StandardHeight : double
Public ReadOnly Property StandardHeight As Double

Property Value

The standard (default) height of all the rows in the worksheet, in points.

Examples

The following code example uses the StandardHeight property to display the default height of all the rows in the current worksheet.

This example is for a document-level customization.

private void DisplayStandardHeight()
{
    MessageBox.Show("The default row height is " +
        this.StandardHeight.ToString() + " points.");
}
Private Sub DisplayStandardHeight()
    MsgBox("The default row height is " & _
        Me.StandardHeight.ToString() & " points.")
End Sub

Applies to