API Reference

Class

OneNoteNotebookReaderOptions

Namespace OfficeIMO.OneNote
Assembly OfficeIMO.OneNote
Modifiers sealed

Controls offline notebook and table-of-contents loading.

Inheritance

  • Object
  • OneNoteNotebookReaderOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Properties

public OneNoteReaderOptions OneNoteOptions { get; set; } #

Limits used when reading each .onetoc2 and .one revision store.

public Boolean LoadSectionContent { get; set; } #

Loads each section's pages and assets instead of returning TOC metadata only.

public Boolean ContinueOnSectionError { get; set; } #

Continues loading other sections when one section is corrupt, encrypted, or uses an unsupported legacy variant. The failed section remains in the hierarchy and a diagnostic is emitted.

public Boolean RecurseSectionGroups { get; set; } #

Recursively loads nested section-group TOC files.

public Boolean IncludeRecycleBin { get; set; } #

Includes the special OneNote_RecycleBin section group.

public Int32 MaxSectionGroupDepth { get; set; } #

Maximum nested section-group depth.

public Int32 MaxNotebookEntries { get; set; } #

Maximum total number of TOC entries across the notebook.

public Int32 MaxPackageEntries { get; set; } #

Maximum number of files stored in a .onepkg cabinet.

public Int64 MaxPackageExpandedBytes { get; set; } #

Maximum total bytes after expanding a .onepkg cabinet.

public Int64 MaxPackageEntryBytes { get; set; } #

Maximum expanded size of one .onepkg entry.

Fields

public const Int32 DefaultMaxSectionGroupDepth #

Default maximum nested section-group depth.

Value: 32