Share via


Worksheet.StandardHeight Property (2007 System)

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

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

Syntax

'Declaration
Public ReadOnly Property StandardHeight As Double
'Usage
Dim instance As Worksheet 
Dim value As Double 

value = instance.StandardHeight
public double StandardHeight { get; }
public:
property double StandardHeight {
    double get ();
}
public function get StandardHeight () : double

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

Worksheet Class

Worksheet Members

Microsoft.Office.Tools.Excel Namespace