Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OneNotePageTraversal

OfficeIMO.OneNote

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

Enumerates a section's current pages in section order.

Parameters

section OfficeIMO.OneNote.OneNoteSection required

Returns

IReadOnlyList<OneNotePageReference>
public static IReadOnlyList<OneNotePageReference> Flatten(OneNoteNotebook notebook, int maxSectionGroupDepth = 32) #

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

Parameters

notebook OfficeIMO.OneNote.OneNoteNotebook required
maxSectionGroupDepth int = 32 optional

Returns

IReadOnlyList<OneNotePageReference>