共用方式為


_Application.Top Property

Returns or sets a single-precision floating-point number that represents the distance in points from the top edge of the document, application, and slide show window to the top edge of the application window's client area. Read/write.

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

Syntax

'Declaration
Property Top As Single
    Get
    Set
'Usage
Dim instance As _Application
Dim value As Single

value = instance.Top

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

Property Value

Type: System.Single

Remarks

Setting this property to a very large positive or negative value may position the window completely off the desktop.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.PowerPoint Namespace