Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OneNoteNotebookReaderOptions

OfficeIMO.OneNote

Namespace
OfficeIMO.OneNote
Assembly
OfficeIMO.OneNote
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Controls offline notebook and table-of-contents loading.

Inheritance

  • object
  • OneNoteNotebookReaderOptions

Usage

Explore 2 API references to this type

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

Accepted by parameters 2

Constructors

public OneNoteNotebookReaderOptions() #

Properties

public OneNoteLoadOptions OneNoteOptions { get; set; } #

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

public bool LoadSectionContent { get; set; } #

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

public bool 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 bool RecurseSectionGroups { get; set; } #

Recursively loads nested section-group TOC files.

public bool IncludeRecycleBin { get; set; } #

Includes the special OneNote_RecycleBin section group.

public int MaxSectionGroupDepth { get; set; } #

Maximum nested section-group depth.

public int MaxNotebookEntries { get; set; } #

Maximum total number of TOC entries across the notebook.

public int MaxPackageEntries { get; set; } #

Maximum number of files stored in a .onepkg cabinet.

public long MaxPackageExpandedBytes { get; set; } #

Maximum total bytes after expanding a .onepkg cabinet.

public long MaxPackageEntryBytes { get; set; } #

Maximum expanded size of one .onepkg entry.

Fields

public const int DefaultMaxSectionGroupDepth #

Default maximum nested section-group depth.

Value: 32