Click or drag to resize
Pdftools logo

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.Navigation
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.3.0+2e7887cb8ae45c4d911ad975ad001ac2f1f257d8
Syntax
C#
public 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
Exceptions
ExceptionCondition
ArgumentExceptionif the targetDocument argument has already been closed
ArgumentExceptionif the targetDocument argument is read-only
ArgumentExceptionif the target argument is not associated with the targetDocument
ArgumentNullExceptionif targetDocument is .
ArgumentNullExceptionif target is .
See Also