共用方式為


_Application.ActivePresentation Property

Returns a Presentation object that represents the presentation open in the active window. Read-only.

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

Syntax

'Declaration
ReadOnly Property ActivePresentation As Presentation
    Get
'Usage
Dim instance As _Application
Dim value As Presentation

value = instance.ActivePresentation
Presentation ActivePresentation { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.Presentation

Remarks

If an embedded presentation is in-place active, the ActivePresentation property returns the embedded presentation.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.PowerPoint Namespace