Partager via


Application Members

Include Protected Members
Include Inherited Members

Represents the entire Microsoft PowerPoint application.

The Application type exposes the following members.

Properties

  Name Description
Public property Active Returns whether the specified pane or window is active. Read-only. (Inherited from _Application.)
Public property ActiveEncryptionSession Represents the encryption session associated with the active presentation. Read-only. (Inherited from _Application.)
Public property ActivePresentation Returns a Presentation object that represents the presentation open in the active window. Read-only. (Inherited from _Application.)
Public property ActivePrinter Returns the name of the active printer. Read-only. (Inherited from _Application.)
Public property ActiveProtectedViewWindow Returns a ProtectedViewWindow object that represents the active Protected View window (the window on top). Read-only. (Inherited from _Application.)
Public property ActiveWindow Returns a DocumentWindow object that represents the active document window. Read-only. (Inherited from _Application.)
Public property AddIns Returns the program-specific AddIns collection that represents all the add-ins listed in the Add-Ins dialog box (click the Office button, click PowerPoint Options, click Add-Ins, click PowerPoint Add-Ins on the Manage list). Read-only. (Inherited from _Application.)
Public property AnswerWizard Returns the AnswerWizard object that contains the files used by the online Help search engine. Read-only. (Inherited from _Application.)
Public property Assistance Gets a reference to the Microsoft Office IAssistance object, which provides a means for developers to create a customized help experience for users within Microsoft Office. Read-only. (Inherited from _Application.)
Public property Assistant Returns an Assistant object that represents the Office Assistant. Read-only. (Inherited from _Application.)
Public property AutoCorrect Returns an AutoCorrect object that represents the AutoCorrect functionality in Microsoft PowerPoint. (Inherited from _Application.)
Public property AutomationSecurity Represents the security mode that Microsoft PowerPoint uses when it opens files programmatically. Read/write. (Inherited from _Application.)
Public property Build Returns the build number for the current instance of Microsoft PowerPoint. Read-only. (Inherited from _Application.)
Public property Caption Returns the text that appears in the title bar of the application window. Read/write. (Inherited from _Application.)
Public property COMAddIns Returns a reference to the Component Object Model (COM) add-ins currently loaded in Microsoft PowerPoint. These add-ins are listed on the Add-Ins tab in the PowerPoint Options dialog box. Read-only. (Inherited from _Application.)
Public property CommandBars Returns a CommandBars collection that represents all the command bars in Microsoft PowerPoint. Read-only. (Inherited from _Application.)
Public property Creator Returns a 64-bit signed integer that represents the four-character creator code for the application in which the specified object was created. For example, if the object was created in Microsoft PowerPoint, this property returns the hexadecimal number 50575054. Read-only. (Inherited from _Application.)
Public property DefaultWebOptions Returns the DefaultWebOptions object, which contains global application-level attributes used by Microsoft PowerPoint when you publish or save a complete or partial presentation as a Web page or open a Web page. Read-only. (Inherited from _Application.)
Public property Dialogs Reserved for internal use. (Inherited from _Application.)
Public property DisplayAlerts Sets or returns whether Microsoft PowerPoint displays alerts while running a macro. Read/write. (Inherited from _Application.)
Public property DisplayDocumentInformationPanel Returns or sets whether the Document Properties panel is displayed in the Microsoft PowerPoint user interface. Read/write. (Inherited from _Application.)
Public property DisplayGridLines Determines whether to display gridlines in Microsoft PowerPoint. Read/write. (Inherited from _Application.)
Public property FeatureInstall Returns or sets how Microsoft PowerPoint handles calls to methods and properties that require features not yet installed. Read/write. (Inherited from _Application.)
Public property FileConverters Returns information about installed file converters. Returns a null reference (Nothing in Visual Basic) if there are no converters installed. Read-only. (Inherited from _Application.)
Public property FileDialog Returns a FileDialog object that represents a single instance of a file dialog box. Read-only. (Inherited from _Application.)
Public property FileFind Reserved for internal use. (Inherited from _Application.)
Public property FileSearch Reserved for internal use. (Inherited from _Application.)
Public property FileValidation Returns or sets a value that indicates how Microsoft PowerPoint will validate files before opening them. Read/write. (Inherited from _Application.)
Public property Height Returns or sets the height of the specified object, in points. Read/write. (Inherited from _Application.)
Public property HWND Reserved for internal use. (Inherited from _Application.)
Public property IsSandboxed Returns whether the specified presentation is open in a Protected View window. Read-only. (Inherited from _Application.)
Public property LanguageSettings Returns a LanguageSettings object that contains information about the language settings in Microsoft PowerPoint. Read-only. (Inherited from _Application.)
Public property Left Returns or sets a single-precision floating-point number that represents the distance in points from the left edge of the document, application, and slide show windows to the left edge of the application window's client area. Setting this property to a very large positive or negative value may position the window completely off the desktop. Read/write. (Inherited from _Application.)
Public property Marker Reserved for internal use. (Inherited from _Application.)
Public property MsoDebugOptions Reserved for internal use. (Inherited from _Application.)
Public property Name Returns the string "Microsoft PowerPoint". Read-only. (Inherited from _Application.)
Public property NewPresentation Returns a NewFile object that represents a presentation listed on the New Presentation task pane. Read-only. (Inherited from _Application.)
Public property OperatingSystem Returns the name of the operating system. Read-only. (Inherited from _Application.)
Public property Options Returns an Options object that represents application options in Microsoft PowerPoint. (Inherited from _Application.)
Public property Path Returns a value that represents the path to the specified Application object. Read-only. (Inherited from _Application.)
Public property Presentations Returns a Presentations collection that represents all open presentations. Read-only. (Inherited from _Application.)
Public property ProductCode Returns the Microsoft PowerPoint globally unique identifier (GUID). Read-only. (Inherited from _Application.)
Public property ProtectedViewWindows Returns a ProtectedViewWindows collection that represents all the Protected View windows that are open in the application. Read-only. (Inherited from _Application.)
Public property ResampleMediaTasks Reserved for internal use. (Inherited from _Application.)
Public property ShowStartupDialog Determines whether to display the New Presentation task pane when Microsoft PowerPoint is started. Read/write. (Inherited from _Application.)
Public property ShowWindowsInTaskbar Determines whether there is a separate Windows taskbar button for each open presentation. Read/write. (Inherited from _Application.)
Public property SlideShowWindows Returns a SlideShowWindows collection that represents all open slide show windows. Read-only. (Inherited from _Application.)
Public property SmartArtColors Returns the SmartArt colors of the current Application object. Read-only. (Inherited from _Application.)
Public property SmartArtLayouts Returns the SmartArt layout of the current Application object. Read-only. (Inherited from _Application.)
Public property SmartArtQuickStyles Returns the quick styles of the SmartArt diagram in the current Application object. Read-only. (Inherited from _Application.)
Public property Top 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. (Inherited from _Application.)
Public property VBE Returns a VBE object that represents the Visual Basic Editor. Read-only. (Inherited from _Application.)
Public property Version Returns the Microsoft PowerPoint version number. Read-only. (Inherited from _Application.)
Public property Visible Returns or sets the visibility of the specified object or the formatting applied to the specified object. Read/write. (Inherited from _Application.)
Public property Width Returns or sets the width of the specified object, in points. Read/write. (Inherited from _Application.)
Public property Windows Returns a DocumentWindows collection that represents all open document windows. Read-only. (Inherited from _Application.)
Public property WindowState Returns or sets the state of the specified window. Read/write. (Inherited from _Application.)

Top

Methods

  Name Description
Public method Activate Activates the specified object. (Inherited from _Application.)
Public method add_AfterNewPresentation Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_AfterPresentationOpen Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_ColorSchemeChanged Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_NewPresentation Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_PresentationBeforeClose Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_PresentationBeforeSave Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_PresentationClose Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_PresentationCloseFinal Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_PresentationNewSlide Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_PresentationOpen Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_PresentationPrint Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_PresentationSave Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_PresentationSync Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_ProtectedViewWindowActivate Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_ProtectedViewWindowBeforeClose Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_ProtectedViewWindowBeforeEdit Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_ProtectedViewWindowDeactivate Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_ProtectedViewWindowOpen Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_SlideSelectionChanged Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_SlideShowBegin Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_SlideShowEnd Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_SlideShowNextBuild Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_SlideShowNextClick Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_SlideShowNextSlide Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_SlideShowOnNext Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_SlideShowOnPrevious Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_WindowActivate Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_WindowBeforeDoubleClick Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_WindowBeforeRightClick Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_WindowDeactivate Reserved for internal use. (Inherited from EApplication_Event.)
Public method add_WindowSelectionChange Reserved for internal use. (Inherited from EApplication_Event.)
Public method GetOptionFlag Reserved for internal use. (Inherited from _Application.)
Public method Help Displays a Help topic. (Inherited from _Application.)
Public method LaunchPublishSlidesDialog Reserved for internal use. (Inherited from _Application.)
Public method LaunchSendToPPTDialog Reserved for internal use. (Inherited from _Application.)
Public method LaunchSpelling Reserved for internal use. (Inherited from _Application.)
Public method PPFileDialog Reserved for internal use. (Inherited from _Application.)
Public method Quit Quits Microsoft PowerPoint. This is equivalent to clicking the Office button and then clicking Exit PowerPoint. (Inherited from _Application.)
Public method remove_AfterNewPresentation Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_AfterPresentationOpen Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_ColorSchemeChanged Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_NewPresentation Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_PresentationBeforeClose Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_PresentationBeforeSave Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_PresentationClose Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_PresentationCloseFinal Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_PresentationNewSlide Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_PresentationOpen Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_PresentationPrint Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_PresentationSave Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_PresentationSync Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_ProtectedViewWindowActivate Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_ProtectedViewWindowBeforeClose Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_ProtectedViewWindowBeforeEdit Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_ProtectedViewWindowDeactivate Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_ProtectedViewWindowOpen Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_SlideSelectionChanged Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_SlideShowBegin Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_SlideShowEnd Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_SlideShowNextBuild Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_SlideShowNextClick Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_SlideShowNextSlide Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_SlideShowOnNext Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_SlideShowOnPrevious Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_WindowActivate Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_WindowBeforeDoubleClick Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_WindowBeforeRightClick Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_WindowDeactivate Reserved for internal use. (Inherited from EApplication_Event.)
Public method remove_WindowSelectionChange Reserved for internal use. (Inherited from EApplication_Event.)
Public method Run Runs a Visual Basic procedure. (Inherited from _Application.)
Public method SetOptionFlag Reserved for internal use. (Inherited from _Application.)
Public method SetPerfMarker Reserved for internal use. (Inherited from _Application.)
Public method StartNewUndoEntry Starts a new undo entry in the Application object. (Inherited from _Application.)

Top

Events

  Name Description
Public event AfterNewPresentation Occurs after a presentation is created. (Inherited from EApplication_Event.)
Public event AfterPresentationOpen Occurs after an existing presentation is opened. (Inherited from EApplication_Event.)
Public event ColorSchemeChanged Occurs after a color scheme is changed. (Inherited from EApplication_Event.)
Public event NewPresentation Occurs after a presentation is created, as it is added to the Presentations collection. (Inherited from EApplication_Event.)
Public event PresentationBeforeClose Represents a Presentation object before it closes. (Inherited from EApplication_Event.)
Public event PresentationBeforeSave Occurs before a presentation is saved. (Inherited from EApplication_Event.)
Public event PresentationClose Occurs immediately before any open presentation closes, as it is removed from the Presentations collection. (Inherited from EApplication_Event.)
Public event PresentationCloseFinal Represents closing the final Presentation object. (Inherited from EApplication_Event.)
Public event PresentationNewSlide Occurs when a new slide is created in any open presentation, as the slide is added to the Slides collection. (Inherited from EApplication_Event.)
Public event PresentationOpen Occurs after an existing presentation is opened, as it is added to the Presentations collection. (Inherited from EApplication_Event.)
Public event PresentationPrint Occurs before a presentation is printed. (Inherited from EApplication_Event.)
Public event PresentationSave Occurs before any open presentation is saved. (Inherited from EApplication_Event.)
Public event PresentationSync Occurs when the local copy of a presentation that is part of a Document Workspace is synchronized with the copy on the server. Provides important status information regarding the success or failure of the synchronization of the presentation. (Inherited from EApplication_Event.)
Public event ProtectedViewWindowActivate Occurs when any protected view window is activated. (Inherited from EApplication_Event.)
Public event ProtectedViewWindowBeforeClose Occurs immediately before a protected view window or a document in a protected view window closes. (Inherited from EApplication_Event.)
Public event ProtectedViewWindowBeforeEdit Occurs immediately before editing is enabled on the document in the specified protected view window. (Inherited from EApplication_Event.)
Public event ProtectedViewWindowDeactivate Occurs when a protected view window is deactivated. (Inherited from EApplication_Event.)
Public event ProtectedViewWindowOpen Occurs when a protected view window is opened. (Inherited from EApplication_Event.)
Public event SlideSelectionChanged Occurs at different times depending on the current view. (Inherited from EApplication_Event.)
Public event SlideShowBegin Occurs when you start a slide show. (Inherited from EApplication_Event.)
Public event SlideShowEnd Occurs after a slide show ends, immediately after the last SlideShowNextSlide event occurs. (Inherited from EApplication_Event.)
Public event SlideShowNextBuild Occurs upon mouse-click or timing animation, but before the animated object becomes visible. (Inherited from EApplication_Event.)
Public event SlideShowNextClick Occurs on the next click of the slide. (Inherited from EApplication_Event.)
Public event SlideShowNextSlide Occurs immediately before the transition to the next slide. For the first slide, occurs immediately after the SlideShowBegin event. (Inherited from EApplication_Event.)
Public event SlideShowOnNext Occurs when the user clicks Next to move within the current slide. (Inherited from EApplication_Event.)
Public event SlideShowOnPrevious Occurs when the user clicks Previous to move within the current slide. (Inherited from EApplication_Event.)
Public event WindowActivate Occurs when the application window or any document window is activated. (Inherited from EApplication_Event.)
Public event WindowBeforeDoubleClick Occurs when you double-click the items in the views listed in the following table. (Inherited from EApplication_Event.)
Public event WindowBeforeRightClick Occurs when you right-click a shape, a slide, a notes page, or some text. This event is triggered by the MouseUp event. (Inherited from EApplication_Event.)
Public event WindowDeactivate Occurs when the application window or any document window is deactivated. (Inherited from EApplication_Event.)
Public event WindowSelectionChange Occurs when the selection of text, a shape, or a slide in the active document window changes, whether in the user interface or in code. (Inherited from EApplication_Event.)

Top

See Also

Reference

Application Interface

Microsoft.Office.Interop.PowerPoint Namespace