The following steps demonstrate how to create a simple PowerPoint presentation in a Windows forms application using Presentation library.
Step 1: Create a new Windows Forms application. Name it as GettingStarted.
Step 2: Install Presentation assemblies with NuGet
In Visual Studio, select Tools > NuGet Package Manager > Package Manager Console and execute the below command for the project.
Step 3: Add a new button in the form editor.
Step 4: Include the below code snippet in the click event of the button in Form.cs, to create a PowerPoint presentation and save it as a file.
Step 5: Compile & execute the application. Now this application creates a simple PowerPoint presentation.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|