GetParentOutline

Outlines

Description

Returns the ID of the outline that is the parent of the specified outline.

Syntax

Delphi

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

ActiveX

Function PDFlib::GetParentOutline(OutlineID As Long) As Long

DLL

int DLGetParentOutline(int InstanceID, int OutlineID);

Parameters

OutlineIDThe ID of the outline item to work with. This ID is returned by the NewOutline or NewStaticOutline functions, or retrieved with the GetOutlineID function or Get*Outline functions.

Return values

Returns the ID of the outline item that is the parent of the specified item. Returns 0 when OutlineID is invalid or the item is a top-level entry.