Debenu Quick PDF logo

AddLinkToPage

Annotations and hotspot links, Page properties

Description

Adds a clickable hotspot rectangle to the selected page which links to another page in the same document.

Use the SetAnnotBorderColor function to change the color of the hotspot border.

Syntax

Delphi

function TDebenuPDFLibrary1511.AddLinkToPage(Left, Top, Width, Height: Double; 
  Page: Integer; Position: Double; Options: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::AddLinkToPage(Left As Double,
  Top As Double, Width As Double, Height As Double, Page As Long,
  Position As Double, Options As Long) As Long

DLL

int DPLAddLinkToPage(int InstanceID, double Left, double Top, double Width,
  double Height, int Page, double Position, int Options)

Parameters

Left The left edge of the hotspot rectangle
Top The top edge of the hotspot rectangle
Width The width of the hotspot rectangle
Height The height of the hotspot rectangle
Page The destination page number to link to
Position The vertical position on the destination page to link to
Options Specifies the appearance of the link:
0 = No border
1 = Draw a border

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport