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
Get
Object Height { get; }
Özellik Değeri
Tür: System.Object
Nokta, yükseklik, XmlMappedRange Denetim.
Örnekler
Aşağıdaki kod örneği 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üvenilir kod tarafından Kitaplıklar kullanma.