API Reference

Class

OneNotePackageReader

Namespace OfficeIMO.OneNote
Assembly OfficeIMO.OneNote
Modifiers static

Reads a complete offline OneNote notebook from a Cabinet-based .onepkg archive.

Inheritance

  • Object
  • OneNotePackageReader

Methods

Read 2 overloads
public static OneNoteNotebook Read(String packagePath, OneNoteNotebookReaderOptions options = null) #
Returns: OneNoteNotebook

Reads a .onepkg archive from a file path.

Parameters

packagePath System.String requiredposition: 0
options OfficeIMO.OneNote.OneNoteNotebookReaderOptions = null optionalposition: 1
public static OneNoteNotebook Read(Stream packageStream, String sourceName = "notebook.onepkg", OneNoteNotebookReaderOptions options = null) #
Returns: OneNoteNotebook

Reads a .onepkg archive from a caller-owned seekable stream.

Parameters

packageStream System.IO.Stream requiredposition: 0
sourceName System.String = "notebook.onepkg" optionalposition: 1
options OfficeIMO.OneNote.OneNoteNotebookReaderOptions = null optionalposition: 2