 | 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.Toolbox.Pdf.NavigationAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.12.0+5e7853f3b1a241c2ec0dd9e8fc4b9015d17a37d8
Syntaxpublic 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| Exception | Condition |
|---|
| ArgumentException | if the targetDocument argument has already been closed |
| ArgumentException | if the targetDocument argument is read-only |
| ArgumentException | if the target argument is not associated with the targetDocument |
| ArgumentException | if the activeArea is empty |
| ArgumentNullException | if targetDocument is . |
| ArgumentNullException | if activeArea is . |
| ArgumentNullException | if target is . |
See Also