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

    A notes master is a shared layout that contains visual parameters (location on a slide, text format settings, background, and so on) for headers, footers, and notes in the Notes Page view.

    Namespace: DevExpress.Docs.Presentation

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

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public sealed class NotesMaster :
        MasterElement

    The following members return NotesMaster objects:

    Remarks

    Create a Notes Master (note master layout) to enable notes in a presentation.

    Example

    How to: Create a New Notes master

    The following code snippet creates a new note master layout with default settings (includes note and slide number placeholders):

    using DevExpress.Docs.Presentation;
    //...
    
    using (var presentation = new Presentation(File.ReadAllBytes(@"C:\Documents\Presentation.pptx"))) {
        if (presentation.NotesMaster == null) {
            presentation.NotesMaster = new NotesMaster(name: "notesMaster");
        }
    }
    

    Implements

    See Also