Click or drag to resize

BookmarksNavigator MoveToBookmark Method (String, Boolean, Boolean)

Moves the cursor to specified bookmark.

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void MoveToBookmark(
	string bookmarkName,
	bool isStart,
	bool isAfter
)

Parameters

bookmarkName
Type: System String
Name of the bookmark.
isStart
Type: System Boolean
When true, moves the cursor to the beginning of the bookmark. When false, moves the cursor to the end of the bookmark
isAfter
Type: System Boolean
When true, moves the cursor to be after the bookmark start or end position. When false, moves the cursor to be before the bookmark start or end position.
See Also