GetOutlineSiblingIndex

Outlines

Description

Returns the one-based position of an outline among the children of its parent

Top-level bookmarks are indexed among the other top-level bookmarks

Syntax

Delphi

Function TPDFlib.GetOutlineSiblingIndex(OutlineID: Integer): Integer;

Parameters

OutlineIDOutline handle returned by FirstOutline, EnumOutlineTree, or another outline-building API

Return values

Returns zero for an invalid handle or the one-based sibling position otherwise