Debenu Quick PDF logo

SetOutlineWebLink

Outlines

Description

Specifies an internet link that should be opened when the user clicks on the outline item (bookmark).

Syntax

Delphi

function TDebenuPDFLibrary1511.SetOutlineWebLink(OutlineID: Integer; 
  Link: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetOutlineWebLink(OutlineID As Long,
  Link As String) As Long

DLL

int DPLSetOutlineWebLink(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport