WorksheetBase.StandardHeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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