Table of Contents

Class PdfLink

Namespace
nebulae.dotPDFium
Assembly
dotPDFium.dll

Represents a link annotation within a PDF document.

public sealed class PdfLink : PdfPageObject, IDisposable
Inheritance
PdfLink
Implements
Inherited Members

A PdfLink object provides access to the destination or action associated with a link annotation in a PDF document. Use this class to retrieve information about where the link points to, such as a specific page or an external action.

Methods

Retrieves the action associated with the current PDF link, if any.

public PdfAction? GetAction()

Returns

PdfAction

A PdfAction object representing the action associated with the link, or null if no action is associated.

Retrieves the destination associated with the current PDF link.

public PdfDestination? GetDestination()

Returns

PdfDestination

A PdfDestination object representing the destination of the link, or null if no destination is associated with the link.

The destination provides information about where the link points to within the PDF document, such as a specific page or location. If the link does not have an associated destination, the method returns null.