Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OneNotePackageReader

OfficeIMO.OneNote

Namespace
OfficeIMO.OneNote
Assembly
OfficeIMO.OneNote
Source revision
be6c300e4ab1 with working tree changes
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) #

Reads a .onepkg archive from a file path.

Parameters

packagePath string required
options OfficeIMO.OneNote.OneNoteNotebookReaderOptions? = null optional
public static OneNoteNotebook Read(Stream packageStream, string sourceName = "notebook.onepkg", OneNoteNotebookReaderOptions? options = null) #

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

Parameters

packageStream System.IO.Stream required
sourceName string = "notebook.onepkg" optional
options OfficeIMO.OneNote.OneNoteNotebookReaderOptions? = null optional