FindNext(AccessibleNode?, AccessibleNavigation, Boolean, Int32) Method

Definition

Assembly Broadside.Viewer.dll

Finds the next node in reading order matching a target, loading pages as it walks.

public AccessibleNode? FindNext(AccessibleNode? from, AccessibleNavigation target, bool backward = false, int level = 0)

Parameters

from
AccessibleNode

The node to start after (before, backwards); null or the document starts at the document's edge.

target
AccessibleNavigation

What to find.

backward
Boolean

True to walk backwards.

level
Int32

For headings, the level to find; 0 for any.

Returns

AccessibleNode
The node found, or null at the end of the document.