Click or drag to resize
Pdftools logo

InternalLinkCreateFromQuadrilaterals Method

Create a document-internal 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.FourHeights.PdfToolbox.Pdf.Navigation
Assembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 1.0.0
Syntax
C#
public static InternalLink CreateFromQuadrilaterals(
	Document targetDocument,
	QuadrilateralList activeArea,
	Destination target
)

Parameters

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

Return Value

InternalLink
The newly created object
Exceptions
ExceptionCondition
ArgumentExceptionif the targetDocument argument has already been closed
ArgumentExceptionif the targetDocument argument is read-only
ArgumentExceptionif the target argument is not associated with the targetDocument
ArgumentExceptionif the activeArea is empty
ArgumentNullExceptionif targetDocument is .
ArgumentNullExceptionif activeArea is .
ArgumentNullExceptionif target is .
See Also