Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfLinkAnnotation

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
551365f138da with working tree changes
Modifiers
sealed

Simple link annotation read from a PDF page.

Inheritance

  • object
  • PdfLinkAnnotation

Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

Usage

Explore 15 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Properties

public int? PageNumber { get; } #

One-based page number when known; null when read directly from a page without document context.

public string? Uri { get; } #

URI action target opened by the link annotation, or null for an internal named-destination link.

public string? DestinationName { get; } #

Named destination opened by the link annotation, or null for a URI link.

public string? NamedAction { get; } #

Named viewer action opened by the link annotation, for example NextPage, or null for other link target kinds.

public string? RemoteFile { get; } #

External PDF file targeted by a remote GoTo action, or null for other link target kinds.

public string? RemoteDestinationName { get; } #

Named destination in the external PDF targeted by a remote GoTo action, when present.

public int? RemoteDestinationPageNumber { get; } #

One-based destination page number in the external PDF targeted by a simple remote GoTo destination array, when present.

public double? RemoteDestinationTop { get; } #

Top coordinate of the remote destination when present.

public double? RemoteDestinationLeft { get; } #

Left coordinate of the remote destination when present.

public double? RemoteDestinationBottom { get; } #

Bottom coordinate of the remote destination rectangle when present.

public double? RemoteDestinationRight { get; } #

Right coordinate of the remote destination rectangle when present.

public PdfOpenActionDestinationMode? RemoteDestinationMode { get; } #

Viewer destination mode for the remote destination when present.

public int? DestinationPageNumber { get; } #

One-based destination page number when the link targets a simple direct destination array.

public double? DestinationTop { get; } #

Top coordinate of the destination when present.

public double? DestinationLeft { get; } #

Left coordinate of the destination when present.

public double? DestinationBottom { get; } #

Bottom coordinate of the destination rectangle when present.

public double? DestinationRight { get; } #

Right coordinate of the destination rectangle when present.

public PdfOpenActionDestinationMode? DestinationMode { get; } #

Viewer destination mode when the link uses a supported destination array.

public string? Contents { get; } #

Optional annotation contents metadata.

public double X1 { get; } #

Left edge of the annotation rectangle in page user-space units.

public double Y1 { get; } #

Bottom edge of the annotation rectangle in page user-space units.

public double X2 { get; } #

Right edge of the annotation rectangle in page user-space units.

public double Y2 { get; } #

Top edge of the annotation rectangle in page user-space units.

public double Width { get; } #

Rectangle width in page user-space units.

public double Height { get; } #

Rectangle height in page user-space units.