Class
OneNoteNotebookWriter
OfficeIMO.OneNote
Creates a native offline notebook directory containing .onetoc2 and .one files.
Inheritance
- object
- OneNoteNotebookWriter
Methods
public static void Write(OneNoteNotebook notebook, string directoryPath, OneNoteSaveOptions? options = null) #Publishes a complete notebook to a new or empty directory. An existing empty directory is populated in place with its root table of contents written last. Open the notebook after this method returns. Existing files are never overwritten.
Parameters
- notebook OfficeIMO.OneNote.OneNoteNotebook
- directoryPath string
- options OfficeIMO.OneNote.OneNoteSaveOptions? = null