officefileapi-devexpress-dot-docs-dot-presentation-4257f667.md
A slide note.
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public sealed class NotesSlide :
SlideElement
Public NotInheritable Class NotesSlide
Inherits SlideElement
The following members return NotesSlide objects:
Create a new NotesSlide object and set it as the Slide.Notes property value to add a note to the slide. The new note inherits its visual parameters from the Presentation.NotesMaster object.
The following code snippet adds a note to the first slide:
using DevExpress.Docs.Presentation;
//...
using (var presentation = new Presentation(File.ReadAllBytes(@"C:\Documents\Presentation.pptx"))) {
Slide slide = presentation.Slides[0];
slide.Notes = new NotesSlide(presentation.NotesMaster);
slide.Notes.TextArea.Text = "test note";
}
Imports DevExpress.Docs.Presentation
'...
Using presentation = New Presentation(File.ReadAllBytes("C:\Documents\Presentation.pptx"))
Dim slide As Slide = presentation.Slides(0)
slide.Notes = New NotesSlide(presentation.NotesMaster)
slide.Notes.TextArea.Text = "test note"
End Using
Object PresentationObject SlideBase SlideElement NotesSlide
See Also