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
)
Public Sub MoveToBookmark (
bookmarkName As String,
isStart As Boolean,
isAfter As Boolean
)
public:
void MoveToBookmark(
String^ bookmarkName,
bool isStart,
bool isAfter
)
member MoveToBookmark :
bookmarkName : string *
isStart : bool *
isAfter : bool -> unit
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