TPDFlibOutlineNode

Data Types

Description

TPDFlibOutlineNode is a record structure that holds detailed metadata for an individual outline bookmark node in a PDF outline tree.

Syntax

Delphi

type TPDFlibOutlineNode = record
    OutlineID: Integer;
    ParentID: Integer;
    PrevID: Integer;
    NextID: Integer;
    FirstChildID: Integer;
    Level: Integer;
    Page: Integer;
    IsOpen: Boolean;
    Title: WideString;
  end;

Fields

OutlineIDThe unique integer handle of this bookmark node.
ParentIDThe handle of the parent bookmark node; returns 0 if this node is at the root sibling level.
PrevIDThe handle of the previous sibling bookmark node; returns 0 if there is no preceding sibling.
NextIDThe handle of the next sibling bookmark node; returns 0 if there is no subsequent sibling.
FirstChildIDThe handle of the first child bookmark node; returns 0 if this node has no children.
LevelThe 0-based indentation nesting depth of this node in the outline tree.
PageThe 1-based index page targeted by this bookmark destination; returns 0 if the bookmark invokes a non-navigation action.
IsOpenSpecifies whether the bookmark node's children are shown (expanded) by default in viewer applications.
TitleThe displayed title text label of the bookmark outline.

See also

TPDFlibOutlineSearchDepth, EnumOutlineTree