officefileapi-devexpress-dot-docs-dot-presentation-68397261.md
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
public sealed class NotesMaster :
MasterElement
Public NotInheritable Class NotesMaster
Inherits MasterElement
The following members return NotesMaster objects:
Create a Notes Master (note master layout) to enable notes in a presentation.
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");
}
}
Imports DevExpress.Docs.Presentation
'...
Using presentation = New Presentation(File.ReadAllBytes("C:\Documents\Presentation.pptx"))
If presentation.NotesMaster Is Nothing Then
presentation.NotesMaster = New NotesMaster(name:= "notesMaster")
End If
End Using
Object PresentationObject SlideBase MasterElement NotesMaster
See Also