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 LongDLL
int DLSetOutlineStyle(int InstanceID, int OutlineID, int SetItalic, int SetBold);Parameters
| OutlineID | The ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID. |
|---|---|
| SetItalic | 0 = Normal 1 = Italic |
| SetBold | 0 = Normal 1 = Bold |
Return values
| 0 | The Outline ID provided was invalid |
|---|---|
| 1 | The style of the outline item was set successfully |