 | InternalLinkCreate Method |
Create a document-internal 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.Toolbox.Pdf.NavigationAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.5.0+4edba55c604d55d1acd3b42825576b5d5e0943f1
Syntaxpublic static InternalLink Create(
Document targetDocument,
Rectangle boundingBox,
Destination target
)
Parameters
- targetDocument Document
-
The document in which the links is used
- boundingBox Rectangle
-
The location on the page.
- target Destination
-
The link target
Return Value
InternalLink
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 target argument is not associated with the targetDocument |
ArgumentNullException | if targetDocument is . |
ArgumentNullException | if target is . |
See Also