MoveOutlineBefore
Outlines
Description
Moves an outline item to appear directly before another outline item. The outline will be moved along with all children nodes.
Syntax
Delphi
function TPDFlib.MoveOutlineBefore(OutlineID, SiblingID: Integer): Integer;ActiveX
Function PDFlib::MoveOutlineBefore(OutlineID As Long, SiblingID As Long) As LongDLL
int DLMoveOutlineBefore(int InstanceID, int OutlineID, int SiblingID);Parameters
| OutlineID | The ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID. |
|---|---|
| SiblingID | The outline will be moved to a position before the outline with this ID |
Return values
| 0 | The outline was not moved, the OutlineID or SiblingID parameters were invalid or were the same value |
|---|---|
| 1 | The outline was moved successfully |