Skip to main content
All docs
V25.2
  • NotesSlide Class

    A slide note.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v25.2.dll

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public sealed class NotesSlide :
        SlideElement

    The following members return NotesSlide objects:

    Remarks

    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.

    Example

    How to: Add a Note to the First Slide

    The following code snippet adds a note to the first slide:

    presentation api added note

    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";
    }
    

    Implements

    See Also