Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddLinkToPage Method > AddLinkToPage Method (Double, Double, Double, Double, Int32)
Adds the new link area to the PdfPage.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfActionArea AddLinkToPage(
	double left,
	double top,
	double width,
	double height,
	int pageIndex
)
VB
Public Function AddLinkToPage ( 
	left As Double,
	top As Double,
	width As Double,
	height As Double,
	pageIndex As Integer
) As PdfActionArea

Parameters

left
Type: System.Double
The x-coordinate of the upper-left corner of the link area.
top
Type: System.Double
The y-coordinate of the upper-left corner of the link area.
width
Type: System.Double
The width of the link area.
height
Type: System.Double
The height of the link area.
pageIndex
Type: System.Int32
Index of the page to be displayed when the link area is activated.

Return Value

Type: PdfActionArea
The newly created PdfActionArea object.

See Also