
To use these examples, your add-in project must reference Office.js v1.1 library or later.ĭetect the presentation's active view and handle the ActiveViewChanged event

Several of these examples also use a Globals object that is declared beyond the scope of these functions as: If you aren't using Visual Studio to develop your add-in, you'll need replace the showNotification function with your own code. To display information, these examples use the app.showNotification function, which is included in the Visual Studio Office Add-ins project templates.

The code examples in this article demonstrate some basic tasks for developing add-ins for PowerPoint. For example, see the Pexels - Free Stock Photos add-in, which you can use to add professional photos to your presentation. Use task pane add-ins to bring in reference information or insert data into the presentation via a service. For example, see the LucidChart Diagrams for PowerPoint add-in, which you can use to inject an interactive diagram from LucidChart into your deck. Use content add-ins to add dynamic HTML5 content to your presentations. You can create two types of PowerPoint add-ins: Adults aged 18–24 years had the lowest self-reported obesity (20.7%) compared to adults aged 45–54 years who had the highest prevalence (39.3%).You can use PowerPoint add-ins to build engaging solutions for your users' presentations across platforms including Windows, iPad, Mac, and in a browser.
