[]
        
(Showing Draft Content)

C1.C1Preview.C1Hyperlink.-ctor

C1Hyperlink Constructor

Initializes a new instance of the C1Hyperlink class.

Declaration
public C1Hyperlink()
Public Sub New()

Initializes a new instance of the C1Hyperlink class, assigning its LinkTarget to a C1LinkTargetDocumentLocation associated with the specified RenderObject.

Declaration
public C1Hyperlink(RenderObject renderObject)
Public Sub New(renderObject As RenderObject)
Parameters
Type Name Description
RenderObject renderObject

The RenderObject to set as the target of the current hyperlink.

Initializes a new instance of the C1Hyperlink class, assigning its LinkTarget to a C1LinkTargetDocumentLocation associated with the specified ParagraphObject.

Declaration
public C1Hyperlink(ParagraphObject paragraphObject)
Public Sub New(paragraphObject As ParagraphObject)
Parameters
Type Name Description
ParagraphObject paragraphObject

The ParagraphObject to set as the target of the current hyperlink.

Initializes a new instance of the C1Hyperlink class, assigning its LinkTarget to the specified C1LinkTarget.

Declaration
public C1Hyperlink(C1LinkTarget linkTarget)
Public Sub New(linkTarget As C1LinkTarget)
Parameters
Type Name Description
C1LinkTarget linkTarget

The C1LinkTarget to set as the target of the current hyperlink.

Initializes a new instance of the C1Hyperlink class, assigning its LinkTarget to the specified C1LinkTarget.

Declaration
public C1Hyperlink(C1LinkTarget linkTarget, string statusText)
Public Sub New(linkTarget As C1LinkTarget, statusText As String)
Parameters
Type Name Description
C1LinkTarget linkTarget

The C1LinkTarget to set as the target of the current hyperlink.

string statusText

The string to assign to StatusText of the current hyperlink.

Initializes a new instance of the C1Hyperlink class, assigning its LinkTarget to the specified C1LinkTarget.

Declaration
public C1Hyperlink(C1LinkTarget linkTarget, string statusText, object userData)
Public Sub New(linkTarget As C1LinkTarget, statusText As String, userData As Object)
Parameters
Type Name Description
C1LinkTarget linkTarget

The C1LinkTarget to set as the target of the current hyperlink.

string statusText

The string to assign to StatusText of the current hyperlink.

object userData

Arbitrary value to assign to UserData of the current hyperlink.

Initializes a new instance of the C1Hyperlink class, assigning its LinkTarget to a C1LinkTargetAnchor associated with the specified anchor name.

Declaration
public C1Hyperlink(string anchorName)
Public Sub New(anchorName As String)
Parameters
Type Name Description
string anchorName

The name of the C1Anchor to set as the target of the current hyperlink.