PdfLinkAnnotation
OfficeIMO.Pdf
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.
Returned or exposed by 15
- Method PdfDocumentInfo.GetLinkAnnotationsByDestinationName
- Method PdfDocumentInfo.GetLinkAnnotationsByDestinationPageNumber
- Method PdfDocumentInfo.GetLinkAnnotationsByNamedAction
- Method PdfDocumentInfo.GetLinkAnnotationsByRemoteFile
- Method PdfDocumentInfo.GetLinkAnnotationsByUri
- Property PdfDocumentInfo.LinkAnnotations
- Property PdfDocumentInfo.LinkAnnotationsByDestinationName
- Property PdfDocumentInfo.LinkAnnotationsByDestinationPageNumber
- Property PdfDocumentInfo.LinkAnnotationsByNamedAction
- Property PdfDocumentInfo.LinkAnnotationsByRemoteFile
- Property PdfDocumentInfo.LinkAnnotationsByUri
- Property PdfLogicalLinkAnnotation.SourceLink
- Property PdfLogicalPage.LinkAnnotations
- Property PdfPageInfo.LinkAnnotations
- Method PdfReadPage.GetLinkAnnotations
Inherited Methods
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 bool IsUriLink { get; } #True when the link annotation opens a URI action target.
public bool IsNamedDestinationLink { get; } #True when the link annotation opens an internal named destination.
public bool IsNamedActionLink { get; } #True when the link annotation opens a named viewer action such as NextPage.
public bool IsRemoteGoToLink { get; } #True when the link annotation opens a destination in another PDF file.
public bool IsInternalDestinationLink { get; } #True when the link annotation opens an internal destination, either named or direct.
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.