Aracılığıyla paylaş


XmlMappedRange.Top Özellik

Nokta, mesafe alır 1 satır üst kenarı üstünden 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 Top As Object
Object Top { get; }

Özellik Değeri

Tür: System.Object
Uzaklık 1 satır üst kenarı üstünden puan XmlMappedRange denetim.

Notlar

Değer, bir çift döndürülür.

Örnekler

Aşağıdaki kod örneğinde Left ve Top sütununun a sol kenarına sol kenardan uzaklığını görüntülemek için özellikler bir XmlMappedRangeve üst satırı 1 üst kenar boşluğunu XmlMappedRange.Bu kod örneği, geçerli çalışma sayfasının içerdiğini varsayar bir XmlMappedRange adlı CustomerLastNameCell.

Private Sub DisplayLeftAndTop()
    MsgBox("The left border of CustomerLastNameCell is at " & _
        Me.CustomerLastNameCell.Left & " and the top is at " & _
        Me.CustomerLastNameCell.Top & ".")
End Sub
private void DisplayLeftAndTop()
{
    MessageBox.Show("The left border of CustomerLastNameCell is at " +
    this.CustomerLastNameCell.Left + " and the top is at " +
    this.CustomerLastNameCell.Top + ".");
}

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

XmlMappedRange Arabirim

Microsoft.Office.Tools.Excel Ad Alanı