API Reference
Class
OneNotePackageReader
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:
OneNoteNotebookReads a .onepkg archive from a file path.
Parameters
- packagePath System.String
- options OfficeIMO.OneNote.OneNoteNotebookReaderOptions? = null
public static OneNoteNotebook Read(Stream packageStream, String sourceName = "notebook.onepkg", OneNoteNotebookReaderOptions? options = null) #Returns:
OneNoteNotebookReads a .onepkg archive from a caller-owned seekable stream.
Parameters
- packageStream System.IO.Stream
- sourceName System.String = "notebook.onepkg"
- options OfficeIMO.OneNote.OneNoteNotebookReaderOptions? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?