Aspose::Words::Bookmark class

Bookmark class

Represents a single bookmark. To learn more, visit the Working with Bookmarks documentation article.

class Bookmark : public System::Object

Methods

MethodDescription
get_BookmarkEnd()Gets the node that represents the end of the bookmark.
get_BookmarkStart() constGets the node that represents the start of the bookmark.
get_FirstColumn()Gets the zero-based index of the first column of the table column range associated with the bookmark.
get_IsColumn()Returns true if this bookmark is a table column bookmark.
get_LastColumn()Gets the zero-based index of the last column of the table column range associated with the bookmark.
get_Name()Gets or sets the name of the bookmark.
get_Text()Gets the text enclosed in the bookmark.
GetType() const override
Is(const System::TypeInfo&) const override
Remove()Removes the bookmark from the document. Does not remove text inside the bookmark.
set_Name(const System::String&)Setter for Aspose::Words::Bookmark::get_Name.
set_Text(const System::String&)Sets the text enclosed in the bookmark.
static Type()

Remarks

Bookmark is a “facade” object that encapsulates two nodes BookmarkStart and BookmarkEnd in a document tree and allows to work with a bookmark as a single object.

See Also