Class Link
A clickable piece of Text which contains a link annotation dictionary.
public class Link : Text, IAbstractElement, ILeafElement, IElement, IPropertyContainer, IAccessibleElement
- Inheritance
-
Link
- Implements
- Inherited Members
Remarks
A clickable piece of Text which contains a link annotation dictionary . The concept is largely similar to that of the HTML anchor tag.
Constructors
Link(string, PdfAction)
Creates a Link which can execute an action.
public Link(string text, PdfAction action)
Parameters
Link(string, PdfLinkAnnotation)
Creates a Link with a fully constructed link annotation dictionary.
public Link(string text, PdfLinkAnnotation linkAnnotation)
Parameters
text
stringthe textual contents of the link
linkAnnotation
PdfLinkAnnotation
Link(string, PdfDestination)
Creates a Link to another location in the document.
public Link(string text, PdfDestination destination)
Parameters
text
stringthe textual contents of the link
destination
PdfDestination
Methods
GetAccessibilityProperties()
public override AccessibilityProperties GetAccessibilityProperties()
Returns
GetLinkAnnotation()
Gets the link annotation dictionary associated with this link.
public virtual PdfLinkAnnotation GetLinkAnnotation()
Returns
MakeNewRenderer()
protected override IRenderer MakeNewRenderer()