Class Hyperlink
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
Hyperlink(PdfRectangle, IReadOnlyList<Letter>, string, string, Annotation)
Create a new Hyperlink.
public Hyperlink(PdfRectangle bounds, IReadOnlyList<Letter> letters, string text, string uri, Annotation annotation)
Parameters
bounds
PdfRectangleletters
IReadOnlyList<Letter>text
stringuri
stringannotation
Annotation
Properties
Annotation
The underlying link annotation.
public Annotation Annotation { get; }
Property Value
Bounds
The area on the page which when clicked will open the hyperlink.
public PdfRectangle Bounds { get; }
Property Value
Letters
The letters in the link region.
public IReadOnlyList<Letter> Letters { get; }
Property Value
Text
The text in the link region (if any).
public string Text { get; }
Property Value
Uri
The URI the link directs to.
public string Uri { get; set; }
Property Value
Methods
ToString()
public override string ToString()