skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class BookmarkItem

Represents a PDF bookmark (outline) item.

Inheritance
System.Object
FixedDocumentElementBase
BookmarkItem
Inherited Members
FixedDocumentElementBase.Parent
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.Navigation
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class BookmarkItem : FixedDocumentElementBase, IFixedDocumentElement, IContextClonable<BookmarkItem>

Constructors

BookmarkItem(String, Action)

Initializes a new instance of the BookmarkItem class.

Declaration
public BookmarkItem(string title, Action action)
Parameters
System.String title

The text to be displayed for this bookmark item.

Action action

The action first action in a collection of actions to be performed when this bookmark item is activated.

Exceptions
System.ArgumentNullException

Thrown when the title or action is null.

BookmarkItem(String, Destination)

Initializes a new instance of the BookmarkItem class.

Declaration
public BookmarkItem(string title, Destination destination)
Parameters
System.String title

The text to be displayed for this bookmark item.

Destination destination

The destination to be displayed when this bookmark item is activated.

Exceptions
System.ArgumentNullException

Thrown when the title or destination is null.

BookmarkItem(String, NamedDestination)

Initializes a new instance of the BookmarkItem class.

Declaration
public BookmarkItem(string title, NamedDestination namedDestination)
Parameters
System.String title

The text to be displayed for this bookmark item.

NamedDestination namedDestination

The named destination to be displayed when this bookmark item is activated.

Exceptions
System.ArgumentNullException

Thrown when the title or namedDestination is null.

Properties

Action

Gets the action to be performed when this bookmark item is activated.

Declaration
[Obsolete("Use Actions instead.")]
public Action Action { get; }
Property Value
Action

Actions

Gets the actions for the bookmark item.

Declaration
public ActionCollection Actions { get; }
Property Value
ActionCollection

The actions.

Children

Gets the immediate child elements for this bookmark item.

Declaration
public BookmarksCollection Children { get; }
Property Value
BookmarksCollection

Destination

Gets the destination to be displayed when this bookmark item is activated.

Declaration
public Destination Destination { get; }
Property Value
Destination

IsExpanded

Gets or sets whether the bookmark item is open or closed by default. For example, when an item is open by default, its children are initially visible when document is loaded.

Declaration
public bool IsExpanded { get; set; }
Property Value
System.Boolean

NamedDestination

Gets the named destination to be displayed when this bookmark item is activated.

Declaration
public NamedDestination NamedDestination { get; }
Property Value
NamedDestination

TextColor

Gets or sets the color of the bookmark item's text in RGB color space.

Declaration
public RgbColor TextColor { get; set; }
Property Value
RgbColor

Exceptions
System.ArgumentNullException

Thrown when the value is null.

TextStyle

Gets or sets the style characteristics for displaying the bookmark item's text.

Declaration
public BookmarkItemStyles TextStyle { get; set; }
Property Value
BookmarkItemStyles

Title

Gets or sets the text to be displayed for this bookmark item.

Declaration
public string Title { get; set; }
Property Value
System.String

Exceptions
System.ArgumentNullException

Thrown when the value is null.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.