 | 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.NavigationAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.6.1+1d1ddee1b750f38b2287c750628b9791d3c49600
Syntaxpublic 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
ExceptionsException | Condition |
---|
ArgumentException | if the targetDocument argument has already been closed |
ArgumentException | if the targetDocument argument is read-only |
ArgumentException | if the activeArea is empty |
ArgumentException | if the uri is empty |
ArgumentNullException | if targetDocument is . |
ArgumentNullException | if activeArea is . |
ArgumentNullException | if uri is . |
See Also