SetOutlineWebLink
Description
Specifies an internet link that should be opened when the user clicks on the outline item (bookmark).
Syntax
Delphi
function TQuickPDF0813.SetOutlineWebLink(OutlineID: Integer;
Link: WideString): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetOutlineWebLink(OutlineID As Long,
Link As String) As Long
DLL
int QuickPDFSetOutlineWebLink(int InstanceID, int OutlineID, wchar_t * Link)
Parameters
| OutlineID | The ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID. |
| Link |
The URL to link to. Some examples: "http://www.example.com/" "mailto:info@example.com" |
Return values
| 0 | The OutlineID was invalid |
| 1 | The web link action was added to the outline item successfully |