XmlMappedRange.Height Özellik
Nokta, yükseklik, alır XmlMappedRange denetim.
Ad alanı: Microsoft.Office.Tools.Excel
Derleme: Microsoft.Office.Tools.Excel (Microsoft.Office.Tools.Excel.dll içinde)
Sözdizimi
'Bildirim
ReadOnly Property Height As Object
Object Height { get; }
Özellik Değeri
Tür: System.Object
Nokta, yükseklik, XmlMappedRange denetim.
Örnekler
Aşağıdaki kod örneğinde Width ve Height genişliğini ve yüksekliğini görüntülemesini özellikleri bir XmlMappedRange.Bu kod örneği, geçerli çalışma sayfasının içerdiğini varsayar bir XmlMappedRange adlı 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 Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.