API Reference

Class

OneNotePageTraversal

Namespace OfficeIMO.OneNote
Assembly OfficeIMO.OneNote
Modifiers static

Provides the canonical ordered traversal of current OneNote pages.

Inheritance

  • Object
  • OneNotePageTraversal

Methods

Flatten 2 overloads
public static IReadOnlyList<OneNotePageReference> Flatten(OneNoteSection section) #
Returns: IReadOnlyList<OneNotePageReference>

Enumerates a section's current pages in section order.

Parameters

section OfficeIMO.OneNote.OneNoteSection requiredposition: 0
public static IReadOnlyList<OneNotePageReference> Flatten(OneNoteNotebook notebook, Int32 maxSectionGroupDepth = 32) #
Returns: IReadOnlyList<OneNotePageReference>

Enumerates a notebook's current pages in native table-of-contents order.

Parameters

notebook OfficeIMO.OneNote.OneNoteNotebook requiredposition: 0
maxSectionGroupDepth System.Int32 = 32 optionalposition: 1