MoveOutlineAfter

Outlines

Description

Moves an outline item to appear directly after another outline item. The outline will be moved along with all children nodes.

Syntax

Delphi

function TPDFlib.MoveOutlineAfter(OutlineID, SiblingID: Integer): Integer;

ActiveX

Function PDFlib::MoveOutlineAfter(OutlineID As Long, SiblingID As Long) As Long

DLL

int DLMoveOutlineAfter(int InstanceID, int OutlineID, int SiblingID);

Parameters

OutlineIDThe ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID.
SiblingIDThe outline will be moved to a position after the outline with this ID

Return values

0The outline was not moved, the OutlineID or SiblingID parameters were invalid or were the same value
1The outline was moved successfully