Using Presentations coded automation APIs
To use the Presentations coded automation APIs, apply the following steps:
-
Download the activity package.
-
Create a Coded Workflow.
-
Call the
powerpoint.UsePowerPointPresentationmethod to retrieve the handle of a PowerPoint file. -
Use the handle to perform actions. With the Presentations coded automation, you should be able to perform the same operations as with the Presentations modern activities in a
.xamlfile.note- The Presentations activities are implemented in the Coded service as extension methods for the handle. To check all the available extension methods, type
handle_name.and then Ctrl + Space. ConstClass2- Contains string representations of different slide format options. For more details, refer to the What is a slide layout? page.
importantThere is a known limitation that the PowerPoint files must be closed when executing a Presentations coded workflow.
- The Presentations activities are implemented in the Coded service as extension methods for the handle. To check all the available extension methods, type