PdfPage.AddLinkToPage Method (PdfPoint, PdfSize, PdfPage, Double)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddLinkToPage Method > AddLinkToPage Method (PdfPoint, PdfSize, PdfPage, Double)
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(
	PdfPoint position,
	PdfSize size,
	PdfPage page,
	double topOffset
)
VB
Public Function AddLinkToPage ( 
	position As PdfPoint,
	size As PdfSize,
	page As PdfPage,
	topOffset As Double
) As PdfActionArea

Parameters

position
Type: BitMiracle.Docotic.Pdf.PdfPoint
The position of the upper-left corner of the link area.
size
Type: BitMiracle.Docotic.Pdf.PdfSize
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.Double
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