NewStaticOutline
Outlines
Description
This function creates a new outline without an action. The action can later be set using the
SetOutlineDestination, SetOutlineWebLink or SetOutlineJavaScript functions.
Syntax
Delphi
function TPDFlib.NewStaticOutline(Parent: Integer; Const Title: WideString): Integer;ActiveX
Function PDFlib::NewStaticOutline(Parent As Long, Title As String) As LongDLL
int DLNewStaticOutline(int InstanceID, int Parent, wchar_t * Title);Parameters
| Parent | 0 for a root item, or the ID of the parent item if this is a child item |
|---|---|
| Title | The title of the outline item. |
Return values
| 0 | The outline item could not be added |
|---|---|
| Non-zero | The ID of the outline item that was added |