XmlMappedRange.RowHeight (Propiedad)

Obtiene o establece el alto de la fila que contiene el control XmlMappedRange, expresado en puntos.

Espacio de nombres:  Microsoft.Office.Tools.Excel
Ensamblado:  Microsoft.Office.Tools.Excel (en Microsoft.Office.Tools.Excel.dll)

Sintaxis

'Declaración
Property RowHeight As Object
Object RowHeight { get; set; }

Valor de propiedad

Tipo: System.Object
Alto de la fila que contiene el control XmlMappedRange, expresado en puntos.

Ejemplos

En el siguiente ejemplo de código se utilizan las propiedades ColumnWidth y RowHeight para mostrar el ancho y alto de un control XmlMappedRange.En este ejemplo de código se supone que la hoja de cálculo actual contiene un control XmlMappedRange denominado CustomerLastNameCell.

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

Seguridad de .NET Framework

Vea también

Referencia

XmlMappedRange Interfaz

Microsoft.Office.Tools.Excel (Espacio de nombres)