Udostępnij za pośrednictwem


XmlMappedRange.Height Property (2007 System)

Gets the height, in points, of the XmlMappedRange control.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Height As Object
'Usage
Dim instance As XmlMappedRange 
Dim value As Object 

value = instance.Height
[BrowsableAttribute(false)]
public Object Height { get; }
[BrowsableAttribute(false)]
public:
property Object^ Height {
    Object^ get ();
}
public function get Height () : Object

Property Value

Type: System.Object
The height, in points, of the XmlMappedRange control.

Examples

The following code example uses the Width and Height properties to display the width and height of an XmlMappedRange. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.

Private Sub DisplayHeightAndWidth()
    MsgBox("CustomerLastNameCell is " & _
        Me.CustomerLastNameCell.Width & _
        " points wide and " & Me.CustomerLastNameCell.Height & _
        " points high.")
End Sub
private void DisplayHeightAndWidth()
{
    MessageBox.Show("CustomerLastNameCell is " +
    this.CustomerLastNameCell.Width + " points wide and " +
    this.CustomerLastNameCell.Height + " points high.");
}

.NET Framework Security

See Also

Reference

XmlMappedRange Class

XmlMappedRange Members

Microsoft.Office.Tools.Excel Namespace