| EmbeddedPdfLinkCreateFromQuadrilaterals Method |
Create a link to an embedded PDF document 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.1.0+5820e9ca9ca173983539ffc40abc227fb62e6928
Syntax public static EmbeddedPdfLink CreateFromQuadrilaterals(
Document targetDocument,
QuadrilateralList activeArea,
FileReference fileReference
)
Parameters
- targetDocument Document
-
The document in which the links is used
- activeArea QuadrilateralList
-
The active link area on the page.
- fileReference FileReference
-
The embedded PDF file
Return Value
EmbeddedPdfLink
The newly created object
Exceptions Exception | Condition |
---|
ArgumentException | if the targetDocument has already been closed |
ArgumentException | if the targetDocument is read-only |
ArgumentException | if the document associated with the fileReference argument has already been closed |
ArgumentException | if the fileReference argument does not contain a PDF document |
ArgumentException | if the fileReference argument is neither used in a file attachment annotation nor has it been appended to the targetDocument's list of plain embedded or associated files. |
ArgumentException | if the fileReference argument is used in a file attachment annotation and this annotation has not been appended to a page's list of annotations. |
ArgumentException | if the activeArea is empty |
ArgumentNullException | if targetDocument is . |
ArgumentNullException | if activeArea is . |
ArgumentNullException | if fileReference is . |
See Also