Export (0) Print
Expand All

Application Interface

Office 2010

Represents the entire Microsoft PowerPoint application.

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

[GuidAttribute("91493442-5A91-11CF-8700-00AA0060263B")]
public interface Application : _Application, 
	EApplication_Event

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.

Community Additions

ADD
Show:
© 2014 Microsoft