Application Interface

Represents the entire Microsoft PowerPoint application.

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

Syntax

'Declaration
<GuidAttribute("91493442-5A91-11CF-8700-00AA0060263B")> _
Public Interface Application _
    Inherits _Application, EApplication_Event
'Usage
Dim instance As Application
[GuidAttribute("91493442-5A91-11CF-8700-00AA0060263B")]
public interface Application : _Application, 
    EApplication_Event

Remarks

An interface in the Microsoft® .NET Framework that is derived from a COM coclass. Managed code requires the interface to interoperate with the corresponding COM object. Use the derived interface to access all method, property, and event members of the COM object. However, if you want to use a method or an event that shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event.

For information about the method and property members of the COM object, see _Application. For information about the event members of the COM object, see EApplication_Event.

The Application object contains:

  • Application-wide settings and options (the name of the active printer, for example).

  • Properties that return top-level objects, such as ActivePresentation, and Windows.

When you are writing code that will run from PowerPoint, you can use the following properties of the Application object without the object qualifier: ActivePresentation, ActiveWindow, AddIns, Presentations, SlideShowWindows, Windows.

For example, instead of writing Application.ActiveWindow.Height = 200, you can write ActiveWindow.Height = 200.

See Also

Reference

Application Members

Microsoft.Office.Interop.PowerPoint Namespace