BookmarkEnd¶
Represents the end of a bookmark.
Capabilities¶
Properties¶
- BookmarkEnd.Content: Gets the content range of the element, for example to replace text only inside this element.
- BookmarkEnd.ElementType: Gets the element type name, such as
'Paragraph','Run'or'Table'.
Links and Bookmarks¶
- BookmarkEnd.Name: Gets or sets the bookmark name. It must match the name of the BookmarkStart.
Methods¶
- BookmarkEnd.Clone: Creates a copy of the element. The copy is not part of the document until it is added to a collection with the collection's
Appendmethod, such as BlockCollection.Append. - BookmarkEnd.GetChildElements: Returns the child elements.
- BookmarkEnd.GetParentElements: Returns the ancestors of the element, starting from the direct parent.