PDF .NET Library Documentation - PDF Technologies, Inc.
This procedure places an active hyper-link area for the rectangle bounded by Rect.

Namespace:  PDFTech
Assembly:  PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)

Syntax

C#
public PDFActionAnnotation AddLinkToPage(
	RectangleF ARect,
	int PageIndex,
	double TopOffset
)
Visual Basic (Declaration)
Public Function AddLinkToPage ( _
	ARect As RectangleF, _
	PageIndex As Integer, _
	TopOffset As Double _
) As PDFActionAnnotation
Visual C++
public:
PDFActionAnnotation^ AddLinkToPage(
	RectangleF ARect, 
	int PageIndex, 
	double TopOffset
)

Parameters

ARect
Type: System.Drawing..::.RectangleF
Bound of annotation
PageIndex
Type: System..::.Int32
The destination page of the link
TopOffset
Type: System..::.Double
top offset of the link destination

Return Value

a PDFActionAnnotation defines an annotation in a PDF file.

Remarks

Destination is a page of the current PDF document with 'PageIndex' index.

Page with 'PageIndex' index must be created on time of call this procedure.

"Top" parameter depends on the location of the display window on that page (offset from top of the page).

See Also