DsPdfJS API - v9.1.0
    Preparing search index...

    Class OutlineNode

    Defines the outline node within PDF document.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get action(): ActionBase | null

      Gets or sets the ActionBase to be performed when this OutlineNode is activated. If both 'dest' and 'action' are specified, the viewer application will determine the behavior, which may be unpredictable. For consistent results, specify only one.

      Returns ActionBase | null

    • set action(value: ActionProperties | ActionBase | null): void

      Gets or sets the ActionBase to be performed when this OutlineNode is activated. If both 'dest' and 'action' are specified, the viewer application will determine the behavior, which may be unpredictable. For consistent results, specify only one.

      Parameters

      Returns void

    • get expanded(): boolean

      Gets or sets a value indicating whether this OutlineNode expanded and its child nodes are visible.

      Returns boolean

    • set expanded(value: boolean): void

      Gets or sets a value indicating whether this OutlineNode expanded and its child nodes are visible.

      Parameters

      • value: boolean

      Returns void

    • get hasChildren(): boolean

      Gets a value indicating whether children collection is not empty.

      Returns boolean

    • get id(): number

      Gets the reference to the object.

      Returns number

    • get textColor(): Color

      Gets or sets the text color of the outline node.

      Returns Color

    • set textColor(value: Color): void

      Gets or sets the text color of the outline node.

      Parameters

      Returns void

    • get title(): string | null

      Gets or sets the title of the outline node.

      Returns string | null

    • set title(value: string | null): void

      Gets or sets the title of the outline node.

      Parameters

      • value: string | null

      Returns void

    Methods

    • Detaches the object from the ObjectManager and deallocates its memory, if possible.

      Returns void