SetOutlineStyle

Outlines

Description

Sets the way an outline item (bookmark) is displayed.

Syntax

Delphi

function TPDFlib.SetOutlineStyle(OutlineID, SetItalic, SetBold: Integer): Integer;

ActiveX

Function PDFlib::SetOutlineStyle(OutlineID As Long, SetItalic As Long, SetBold As Long) As Long

DLL

int DLSetOutlineStyle(int InstanceID, int OutlineID, int SetItalic, int SetBold);

Parameters

OutlineIDThe ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID.
SetItalic0 = Normal 1 = Italic
SetBold0 = Normal 1 = Bold

Return values

0The Outline ID provided was invalid
1The style of the outline item was set successfully