This short guide explains how to add notes to PowerPoint using C#. This guide covers setting up the IDE, a step-by-step process, and sample code to insert notes in PowerPoint using C#. Details will be shared to customize the notes and slides as per the requirements.
Steps to Insert Notes in PowerPoint using C#
- Set the IDE to use Aspose.Slides for .NET to add notes
- Apply the product license to avail complete product features
- Create a new blank presentation and get the first slide from it
- Insert a title box on the slide and set some text in it
- Add a notes slide in the presentation and clear any existing paragraphs in it
- Add a bold heading paragraph to the notes with defined text in it
- Add a second paragraph having talking points for the speaker
- Set flags to display slide number, date, and footer with some text on the notes page
- Save the presentation with formatted speaker notes
These steps describe how to add notes to a PowerPoint presentation using C#. Set the IDE, apply a license, create a new blank presentation, access the first slide, insert a title box, and add a notes slide. Clear all the existing paragraphs in the notes slide, add a bold headings paragraph, add a second paragraph for the speaker’s talking notes of the speaker, set flags to display different elements in the notes page, and save the presentation.
Code to Add Notes to PowerPoint Slides using C#
This code demonstrates how to add speaker notes in PowerPoint using C#. You can set the various properties of the notes, such as setting a custom background, assigning a custom name, and using the FindShapeByAltText method to locate a specific placeholder or shape inside the notes slide. It is also possible to add hyperlinks inside the notes text via the slide’s hyperlink queries.
This guide teaches how to work with the presentation notes. To insert a GIF to a presentation, refer to the article Insert GIF into PowerPoint using C#.