| WebLinkCreate Method |
Create an external link
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.NavigationAssembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.6+c8104d9b5f50644b2c93d424e62edbf40828fde7
Syntax public static WebLink Create(
Document targetDocument,
Rectangle boundingBox,
string uri
)
Parameters
- targetDocument Document
-
The document in which the links is used
- boundingBox Rectangle
-
The location on the page.
- uri String
-
The link target
Return Value
WebLink
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 uri is empty |
ArgumentNullException | if targetDocument is . |
ArgumentNullException | if uri is . |
See Also