Compartilhar via


WorksheetBase.StandardHeight Property

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

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property StandardHeight As Double
public double StandardHeight { get; }

Property Value

Type: System.Double
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 Sub DisplayStandardHeight()
    MsgBox("The default row height is " & _
        Me.StandardHeight.ToString() & " points.")
End Sub
private void DisplayStandardHeight()
{
    MessageBox.Show("The default row height is " +
        this.StandardHeight.ToString() + " points.");
}

.NET Framework Security

See Also

Reference

WorksheetBase Class

Microsoft.Office.Tools.Excel Namespace