[]
        
(Showing Draft Content)

C1.C1Preview.C1Hyperlink.-ctor

C1Hyperlink Constructor

Initializes a new instance of the C1Hyperlink class.

Declaration
public C1Hyperlink()

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

Declaration
public C1Hyperlink(RenderObject 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)
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)
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)
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)
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)
Parameters
Type Name Description
string anchorName

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