Class Hyperlink
Represents a hyperlink associated with a document element.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class Hyperlink
Constructors
Hyperlink()
Initializes an empty hyperlink.
Declaration
public Hyperlink()
Hyperlink(string, string)
Initializes a hyperlink with a target location and display text.
Declaration
public Hyperlink(string location, string display)
Parameters
| Type | Name | Description |
|---|---|---|
| string | location | The target location associated with the hyperlink. |
| string | display | The text displayed for the hyperlink. |
Properties
Display
Gets or sets the text displayed for the hyperlink.
Declaration
public string Display { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalUri
Gets or sets the destination URI for an external hyperlink.
Declaration
public Uri ExternalUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Uri |
History
Gets or sets whether the hyperlink is added to the document's browsing history when followed.
Declaration
public bool History { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsExternal
Gets or sets a value indicating whether this hyperlink targets an external resource.
Declaration
public bool IsExternal { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Location
Gets or sets the target location associated with the hyperlink.
Declaration
public string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Tooltip
Gets or sets the tooltip text displayed for the hyperlink.
Declaration
public string Tooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |