BookmarkItem
Bookmark node in the PDF outline that triggers a destination or action and structures hierarchical navigation.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Navigation
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class BookmarkItem : FixedDocumentElementBase, IFixedDocumentElement
Inheritance: objectFixedDocumentElementBaseBookmarkItem
Implements:
Inherited Members
Constructors
Create a new BookmarkItem that executes the provided action (and subsequent actions in the collection) when activated.
Create a new BookmarkItem that navigates to the specified destination when activated.
public BookmarkItem(string title, Destination destination)
The text to be displayed for this bookmark item.
destinationDestinationThe destination to be displayed when this bookmark item is activated.
Exceptions:Thrown when the title or destination is null.
Create a new BookmarkItem that targets the specified named destination for indirect navigation.
public BookmarkItem(string title, NamedDestination namedDestination)
The text to be displayed for this bookmark item.
namedDestinationNamedDestinationThe named destination to be displayed when this bookmark item is activated.
Exceptions:Thrown when the title or namedDestination is null.
Properties
Gets the ordered collection of actions executed when the bookmark is activated.
public ActionCollection Actions { get; }
The actions.
Gets the collection of direct child bookmarks forming this node's subtree.
public BookmarksCollection Children { get; }
Gets the destination shown in the viewer when the bookmark is activated.
public Destination Destination { get; }
Gets or sets whether this bookmark's child items are initially expanded when the document loads, controlling outline visibility.
public bool IsExpanded { get; set; }
Gets the named destination this bookmark resolves to for indirection across the document.
public NamedDestination NamedDestination { get; }
Gets or sets the bookmark text color (RGB), influencing outline appearance.
public RgbColor TextColor { get; set; }
Thrown when the value is null.
Gets or sets the visual style flags (bold / italic) applied to the bookmark text.
public BookmarkItemStyles TextStyle { get; set; }
Gets or sets the display text shown for the bookmark in the outline panel.