Click or drag to resize

Hyperlink Class

Represents a hyperlink that can be used to navigate to a specific URL. Implements the IDisposable interface to ensure proper cleanup of resources.
Inheritance Hierarchy
System Object
Spire.Doc Hyperlink

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class Hyperlink : IDisposable

The Hyperlink type exposes the following members.

Constructors
Name Description
Public method Hyperlink
Initializes a new instance of the Hyperlink class.
Top
Properties
Name Description
Public property BookmarkName
Returns or sets bookmark.
Public property FilePath
Gets or sets file path.
Public property PictureToDisplay
Gets or sets the image which will be displayed on the place of hyperlink.
Public property TextToDisplay
Gets or sets the specified hyperlink's visible text in a document.
Public property Type
Returns or sets a HyperlinkType object that indicates the link type.
Public property Uri
Returns or sets url link.
Top
Methods
Name Description
Public method Dispose
Releases all resources used by the current instance of the [!:YourClassName] class.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also