Click or drag to resize
Pdftools logo

WebLinkCreateFromQuadrilaterals Method

Create an external link with defined link area

The link has an active area defined by the given activeArea. The link is associated with the targetDocument but not yet part of any page. It can be added to a page's list of links.

Namespace: PdfTools.Toolbox.Pdf.Navigation
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
Syntax
C#
public static WebLink CreateFromQuadrilaterals(
	Document targetDocument,
	QuadrilateralList activeArea,
	string uri
)

Parameters

targetDocument  Document
The document in which the links is used
activeArea  QuadrilateralList
The active link area on the page.
uri  String
The link target

Return Value

WebLink
The newly created object
Exceptions
ExceptionCondition
ArgumentExceptionif the targetDocument argument has already been closed
ArgumentExceptionif the targetDocument argument is read-only
ArgumentExceptionif the activeArea is empty
ArgumentExceptionif the uri is empty
ArgumentNullExceptionif targetDocument is .
ArgumentNullExceptionif activeArea is .
ArgumentNullExceptionif uri is .
See Also