Class PdfLinkAnnotation
PDF link annotation
Inherited Members
Namespace: IronPdf.Annotations
Assembly: IronPdf.dll
Syntax
public class PdfLinkAnnotation : PdfAnnotation
PdfLinkAnnotation is what IronPDF C# code uses for PDF annotations. It represents PDF link annotation.
PdfLinkAnnotation matters when an application needs to configure or invoke PDF annotations from C# code. The class encapsulates the related options and behavior in a single object that is set up once and reused across render or processing calls. Typical scenarios include batch generation pipelines, templated document workflows, and integration with existing C# document services.
To use PdfLinkAnnotation, instantiate or obtain it from the relevant entry point in the IronPDF C# API. Key properties include Dest. Assign options or invoke methods on the instance to configure or perform the operation.
using IronPdf;
// Obtain PdfLinkAnnotation from the relevant entry point in the IronPDF API
void Configure(PdfLinkAnnotation instance)
{
var current = instance.Dest;
}For the broader workflow, see the IronPDF C# documentation for related how-to guides and examples. For broader context, the PDF annotations portion of the IronPDF C# API contains related types that work with PdfLinkAnnotation directly. PdfLinkAnnotation instances inherit additional members from PdfAnnotation that may be relevant in advanced scenarios. In application code, treat PdfLinkAnnotation as a configured object that is constructed once and reused across operations rather than instantiated per call. Configuration is generally idempotent: assigning the same property value twice has the same effect as assigning it once. For diagnostic purposes, inspect the relevant PdfLinkAnnotation property after each operation to confirm the configured state. See the constructors, properties, and methods tables below for the complete API surface of PdfLinkAnnotation. Application code typically obtains or instantiates a single PdfLinkAnnotation and shares it across multiple IronPDF operations rather than recreating it per call. For multi-threaded scenarios, follow the threading guidance for the relevant IronPDF entry point; PdfLinkAnnotation instances are not assumed to be thread-safe unless documented.
Constructors
PdfLinkAnnotation(Rectangle, Color, String, String, String, Boolean)
Declaration
public PdfLinkAnnotation(Rectangle rectangle, Color color, string name, string contents, string dest, bool hidden)
Parameters
| Type | Name | Description |
|---|---|---|
| IronSoftware.Drawing.Rectangle | rectangle | |
| IronSoftware.Drawing.Color | color | |
| System.String | name | |
| System.String | contents | |
| System.String | dest | |
| System.Boolean | hidden |
Properties
Dest
A destination to be displayed when the annotation is activated.
Declaration
public string Dest { get; }
Property Value
| Type | Description |
|---|---|
| System.String |