Expand Minimize

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)

public double StandardHeight { get; }

Property Value

Type: System.Double
The standard (default) height of all the rows in the worksheet, in points.

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.");
}

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft