GetOutlineChildCount

Outlines

Description

Counts only the direct children of an outline without allocating an EnumOutlineTree snapshot

Syntax

Delphi

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

Parameters

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

Return values

Returns the direct child count or zero for an invalid handle or leaf outline