Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddLinkToPage Method > AddLinkToPage Method (RectangleF, PdfPage, Single)
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(
	RectangleF boundingBox,
	PdfPage page,
	float topOffset
)
VB
Public Function AddLinkToPage ( 
	boundingBox As RectangleF,
	page As PdfPage,
	topOffset As Single
) As PdfActionArea

Parameters

boundingBox
Type: System.Drawing.RectangleF
The RectangleF structure that specifies the location and the size of the link area.
page
Type: BitMiracle.Docotic.Pdf.PdfPage
The page to be displayed when the link area is activated.
topOffset
Type: System.Single
The vertical coordinate of the page that should be positioned at the top edge of the window when the link target page is displayed.

Return Value

Type: PdfActionArea
The newly created PdfActionArea object.

See Also