officefileapi-devexpress-dot-docs-dot-presentation-dot-slide.md
Gets or sets the slide notes.
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public NotesSlide Notes { get; set; }
Public Property Notes As NotesSlide
| Type | Description |
|---|---|
| NotesSlide |
The slide notes.
|
For more information, refer to the following help topic: Organize Slide Notes and Notes Layout with DevExpress Presentation API Library.
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
See Also