CloseOutline

Outlines

Description

Collapses an outline item (bookmark).

Syntax

Delphi

function TPDFlib.CloseOutline(OutlineID: Integer): Integer;

ActiveX

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

DLL

int DLCloseOutline(int InstanceID, int OutlineID);

Parameters

OutlineIDThe ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID.

Return values

0The Outline ID provided was invalid The outline item was collapsed
1