PdfBookmarkEntry

PdfBookmarkEntry class

PdfBookmarkEntry is an entry in pdf bookmark. if Text property of current instance is null or “”, current instance will be hidden and children will be inserted on current level.

class PdfBookmarkEntry;

Constructors

NameDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
textstringTitle of a bookmark.
destinationCellThe cell to which the bookmark link.
destinationNamestringGets or sets name of destination.
isOpenbooleanWhen this property is true, the bookmarkentry will expand, otherwise it will collapse.
isCollapsebooleanWhen this property is true, the bookmarkentry will collapse, otherwise it will expand.

constructor()

Default Constructor.

constructor();

text

Title of a bookmark.

text : string;

destination

The cell to which the bookmark link.

destination : Cell;

destinationName

Gets or sets name of destination.

destinationName : string;

Remarks

If destination name is set, the destination will be defined as a named destination with this name.

isOpen

When this property is true, the bookmarkentry will expand, otherwise it will collapse.

isOpen : boolean;

isCollapse

When this property is true, the bookmarkentry will collapse, otherwise it will expand.

isCollapse : boolean;