# PdfLogicalLinkAnnotation

Link annotation entry in the logical page model.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfLogicalMediaAnnotations.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L96)

**Implements**

`IPdfLogicalElement`

**Modifiers**

sealed

Link annotation entry in the logical page model.

## Inheritance

- object
- PdfLogicalLinkAnnotation

## 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.

### Returned or exposed by 14

- Method [PdfDocumentReadResult.GetLinksByDestinationName](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getlinksbydestinationname-string)
- Method [PdfDocumentReadResult.GetLinksByDestinationPageNumber](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getlinksbydestinationpagenumber-int32)
- Method [PdfDocumentReadResult.GetLinksByNamedAction](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getlinksbynamedaction-string)
- Method [PdfDocumentReadResult.GetLinksByRemoteFile](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getlinksbyremotefile-string)
- Method [PdfDocumentReadResult.GetLinksByUri](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getlinksbyuri-string)
- Property [PdfDocumentReadResult.Links](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-links)
- Property [PdfDocumentReadResult.LinksByDestinationName](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-linksbydestinationname)
- Property [PdfDocumentReadResult.LinksByDestinationPageNumber](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-linksbydestinationpagenumber)
- Property [PdfDocumentReadResult.LinksByNamedAction](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-linksbynamedaction)
- Property [PdfDocumentReadResult.LinksByRemoteFile](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-linksbyremotefile)
- Property [PdfDocumentReadResult.LinksByUri](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-linksbyuri)
- Property [PdfLogicalListItem.Link](/api/pdf/officeimo-pdf-pdflogicallistitem/#property-link)
- Property [PdfLogicalPage.Links](/api/pdf/officeimo-pdf-pdflogicalpage/#property-links)
- Property [PdfLogicalSection.Links](/api/pdf/officeimo-pdf-pdflogicalsection/#property-links)

### Accepted by parameters 1

- Method [PdfDocumentReadResult.GetOwningSection](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getowningsection-officeimo-pdf-pdflogicallinkannotation) parameter `link`

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int PageNumber { get; }` [#](#property-pagenumber)

[PdfLogicalMediaAnnotations.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L96)

One-based source page number.

`public PdfLogicalElementKind Kind { get; }` [#](#property-kind)

[PdfLogicalMediaAnnotations.cs:99](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L99)

Element kind.

`public PdfLinkAnnotation SourceLink { get; }` [#](#property-sourcelink)

[PdfLogicalMediaAnnotations.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L102)

Underlying parsed link annotation.

`public string? Uri { get; }` [#](#property-uri)

[PdfLogicalMediaAnnotations.cs:105](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L105)

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

`public string? DestinationName { get; }` [#](#property-destinationname)

[PdfLogicalMediaAnnotations.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L108)

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

`public string? NamedAction { get; }` [#](#property-namedaction)

[PdfLogicalMediaAnnotations.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L111)

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

`public string? RemoteFile { get; }` [#](#property-remotefile)

[PdfLogicalMediaAnnotations.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L114)

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

`public string? RemoteDestinationName { get; }` [#](#property-remotedestinationname)

[PdfLogicalMediaAnnotations.cs:117](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L117)

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

`public int? RemoteDestinationPageNumber { get; }` [#](#property-remotedestinationpagenumber)

[PdfLogicalMediaAnnotations.cs:120](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L120)

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

`public double? RemoteDestinationTop { get; }` [#](#property-remotedestinationtop)

[PdfLogicalMediaAnnotations.cs:123](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L123)

Top coordinate of the remote destination when present.

`public double? RemoteDestinationLeft { get; }` [#](#property-remotedestinationleft)

[PdfLogicalMediaAnnotations.cs:126](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L126)

Left coordinate of the remote destination when present.

`public double? RemoteDestinationBottom { get; }` [#](#property-remotedestinationbottom)

[PdfLogicalMediaAnnotations.cs:129](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L129)

Bottom coordinate of the remote destination rectangle when present.

`public double? RemoteDestinationRight { get; }` [#](#property-remotedestinationright)

[PdfLogicalMediaAnnotations.cs:132](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L132)

Right coordinate of the remote destination rectangle when present.

`public PdfOpenActionDestinationMode? RemoteDestinationMode { get; }` [#](#property-remotedestinationmode)

[PdfLogicalMediaAnnotations.cs:135](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L135)

Viewer destination mode for the remote destination when present.

`public int? DestinationPageNumber { get; }` [#](#property-destinationpagenumber)

[PdfLogicalMediaAnnotations.cs:138](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L138)

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

`public double? DestinationTop { get; }` [#](#property-destinationtop)

[PdfLogicalMediaAnnotations.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L141)

Top coordinate of the destination when present.

`public double? DestinationLeft { get; }` [#](#property-destinationleft)

[PdfLogicalMediaAnnotations.cs:144](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L144)

Left coordinate of the destination when present.

`public double? DestinationBottom { get; }` [#](#property-destinationbottom)

[PdfLogicalMediaAnnotations.cs:147](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L147)

Bottom coordinate of the destination rectangle when present.

`public double? DestinationRight { get; }` [#](#property-destinationright)

[PdfLogicalMediaAnnotations.cs:150](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L150)

Right coordinate of the destination rectangle when present.

`public PdfOpenActionDestinationMode? DestinationMode { get; }` [#](#property-destinationmode)

[PdfLogicalMediaAnnotations.cs:153](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L153)

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

`public bool IsUriLink { get; }` [#](#property-isurilink)

[PdfLogicalMediaAnnotations.cs:156](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L156)

True when the link annotation opens a URI action target.

`public bool IsNamedDestinationLink { get; }` [#](#property-isnameddestinationlink)

[PdfLogicalMediaAnnotations.cs:159](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L159)

True when the link annotation opens an internal named destination.

`public bool IsNamedActionLink { get; }` [#](#property-isnamedactionlink)

[PdfLogicalMediaAnnotations.cs:162](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L162)

True when the link annotation opens a named viewer action such as NextPage.

`public bool IsRemoteGoToLink { get; }` [#](#property-isremotegotolink)

[PdfLogicalMediaAnnotations.cs:165](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L165)

True when the link annotation opens a destination in another PDF file.

`public bool IsInternalDestinationLink { get; }` [#](#property-isinternaldestinationlink)

[PdfLogicalMediaAnnotations.cs:168](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L168)

True when the link annotation opens an internal destination, either named or direct.

`public string? Contents { get; }` [#](#property-contents)

[PdfLogicalMediaAnnotations.cs:171](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L171)

Optional annotation contents metadata.

`public double X1 { get; }` [#](#property-x1)

[PdfLogicalMediaAnnotations.cs:174](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L174)

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

`public double Y1 { get; }` [#](#property-y1)

[PdfLogicalMediaAnnotations.cs:177](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L177)

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

`public double X2 { get; }` [#](#property-x2)

[PdfLogicalMediaAnnotations.cs:180](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L180)

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

`public double Y2 { get; }` [#](#property-y2)

[PdfLogicalMediaAnnotations.cs:183](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L183)

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

`public double Width { get; }` [#](#property-width)

[PdfLogicalMediaAnnotations.cs:186](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L186)

Rectangle width in page user-space units.

`public double Height { get; }` [#](#property-height)

[PdfLogicalMediaAnnotations.cs:189](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L189)

Rectangle height in page user-space units.

<!-- PowerForge markdown artifact sha256:F01C92CE0FC6A97415F5395DAEA0D3368F5B5F2B8DC70BC209EF2814D12D6675 -->
