Search Results for

    Show / Hide Table of Contents

    Interface IPdfBookMark

    Represents a PDF bookmark as seen in the sidebar of PDF reader software to help user's navigate.

    Namespace: IronPdf.Bookmarks
    Assembly: IronPdf.dll
    Syntax
    public interface IPdfBookMark

    Properties

    Children

    Bookmarks contained under this bookmark

    Declaration
    PdfBookMarkCollection Children { get; }
    Property Value
    Type Description
    PdfBookMarkCollection

    DestinationType

    Type of destination represented by the bookmark

    Declaration
    BookmarkDestinations DestinationType { get; }
    Property Value
    Type Description
    BookmarkDestinations

    NextBookmark

    Next bookmark at the current level, if any

    Declaration
    IPdfBookMark NextBookmark { get; }
    Property Value
    Type Description
    IPdfBookMark

    PageIndex

    The zero based page number that the bookmark links to.

    Declaration
    int PageIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    The index of the page.

    Parent

    Bookmark which contains this bookmark

    Declaration
    IPdfBookMark Parent { get; }
    Property Value
    Type Description
    IPdfBookMark

    ParentText

    Text of parent bookmark

    Declaration
    string ParentText { get; }
    Property Value
    Type Description
    System.String

    PreviousBookmark

    Previous bookmark at the current level, if any

    Declaration
    IPdfBookMark PreviousBookmark { get; }
    Property Value
    Type Description
    IPdfBookMark

    PreviousText

    Text of previous bookmark

    Declaration
    string PreviousText { get; }
    Property Value
    Type Description
    System.String

    Siblings

    Bookmarks contained at the same level and under the same parent as this bookmark

    Declaration
    PdfBookMarkCollection Siblings { get; }
    Property Value
    Type Description
    PdfBookMarkCollection

    Text

    The display text of the bookmark

    Declaration
    string Text { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    InsertBookMarkAfter(String, Int32)

    Insert a new bookmark after the specified bookmark

    Declaration
    IPdfBookMark InsertBookMarkAfter(string Text, int PageIndex)
    Parameters
    Type Name Description
    System.String Text

    The display text for the link.

    System.Int32 PageIndex

    The zero based page number to link to. E.g. Page 1 has a PageIndex of 0

    Returns
    Type Description
    IPdfBookMark

    InsertBookMarkBefore(String, Int32)

    Insert a new bookmark after the specified bookmark

    Declaration
    IPdfBookMark InsertBookMarkBefore(string Text, int PageIndex)
    Parameters
    Type Name Description
    System.String Text

    The display text for the link.

    System.Int32 PageIndex

    The zero based page number to link to. E.g. Page 1 has a PageIndex of 0

    Returns
    Type Description
    IPdfBookMark
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.