Click or drag to resize

BookmarksNavigator Class

Helper class for navigations in document bookmarks and editing bookmarks content.
Inheritance Hierarchy
System Object
Spire.Doc.Documents BookmarksNavigator

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class BookmarksNavigator

The BookmarksNavigator type exposes the following members.

Constructors
Name Description
Public method BookmarksNavigator
Initializes a new instance of the BookmarksNavigator class.
Top
Properties
Name Description
Public property CurrentBookmark
Gets the current bookmark.
Public property Document
Returns or setsDocument that this object is attached to.
Top
Methods
Name Description
Public method DeleteBookmarkContent
Deletes the bookmark content.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetBookmarkContent
Gets the bookmark content2.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method InsertParagraph
Inserts the paragraph.
Public method InsertParagraphItem
Inserts the paragraph item to current position.
Public method InsertTable
Inserts the table.
Public method InsertText(String)
Inserts the text.
Public method InsertText(String, Boolean)
Inserts the text range to current position.
Public method InsertTextBodyPart
Inserts the text body part.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method MoveToBookmark(String)
Moves the cursor to specified bookmark.
Public method MoveToBookmark(String, Boolean, Boolean)
Moves the cursor to specified bookmark.
Public method ReplaceBookmarkContent(TextBodyPart)
Replaces the bookmark content with the specified TextBodyPart object.
Public method ReplaceBookmarkContent(String, Boolean)
Replaces the content of the bookmark with new text.
Public method ReplaceBookmarkContent(TextBodyPart, Boolean)
Replaces the bookmark content with specified TextBodyPart object, with an option to preserve the formatting of the first paragraph in the source content.
Public method ReplaceBookmarkContent(TextBodyPart, Boolean, Boolean)
Replaces the content of the bookmark.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also