共用方式為


XmlMappedRange.RowHeight Property

Definition

Gets or sets the height of the row that contains the XmlMappedRange control, measured in points.

public:
 property System::Object ^ RowHeight { System::Object ^ get(); void set(System::Object ^ value); };
public object RowHeight { get; set; }
member this.RowHeight : obj with get, set
Public Property RowHeight As Object

Property Value

The height of the row that contains the XmlMappedRange control, measured in points.

Examples

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

private void DisplayColumnAndRowSizes()
{
    MessageBox.Show("CustomerLastNameCell is  " +
    this.CustomerLastNameCell.ColumnWidth + " characters wide and " +
    this.CustomerLastNameCell.RowHeight + " points high.");
}
Private Sub DisplayColumnAndRowSizes()
    MsgBox("CustomerLastNameCell is  " & _
        Me.CustomerLastNameCell.ColumnWidth & _
        " characters wide and " & Me.CustomerLastNameCell.RowHeight & _
        " points high.")
End Sub

Applies to