Table of Contents

Class Hyperlink

Namespace
UglyToad.PdfPig.Content
Assembly
UglyToad.PdfPig.dll

Full details for a link annotation which references an external resource. A link to an external resource in a document.

public class Hyperlink
Inheritance
Hyperlink
Inherited Members

Constructors

Create a new Hyperlink.

public Hyperlink(PdfRectangle bounds, IReadOnlyList<Letter> letters, string text, string uri, Annotation annotation)

Parameters

bounds PdfRectangle
letters IReadOnlyList<Letter>
text string
uri string
annotation Annotation

Properties

The underlying link annotation.

public Annotation Annotation { get; }

Property Value

Annotation

The area on the page which when clicked will open the hyperlink.

public PdfRectangle Bounds { get; }

Property Value

PdfRectangle

The letters in the link region.

public IReadOnlyList<Letter> Letters { get; }

Property Value

IReadOnlyList<Letter>

The text in the link region (if any).

public string Text { get; }

Property Value

string

The URI the link directs to.

public string Uri { get; set; }

Property Value

string

Methods

public override string ToString()

Returns

string