Partager via


Slicer.Top Property

Gets or sets the vertical position of the specified slicer, in points, relative to the upper-left corner of cell A1 on a worksheet.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Top As Double
    Get
    Set
'Usage
Dim instance As Slicer
Dim value As Double

value = instance.Top

instance.Top = value
double Top { get; set; }

Property Value

Type: System.Double
The vertical position of the specified slicer, in points, relative to the upper-left corner of cell A1 on a worksheet.

Remarks

Read/write.

See Also

Reference

Slicer Interface

Slicer Members

Microsoft.Office.Interop.Excel Namespace