[]
        
(Showing Draft Content)

C1.Word.Objects.RtfHyperlink.-ctor

RtfHyperlink Constructor

The Word/RTF hyperlink constructor.

Declaration
public RtfHyperlink(string target)
Public Sub New(target As String)
Parameters
Type Name Description
string target

The target object (URL, bookmark ...) as string.

The Word/RTF hyperlink constructor with attributes.

Declaration
public RtfHyperlink(string target, Color color, RtfUnderlineStyle underline = RtfUnderlineStyle.None)
Public Sub New(target As String, color As Color, Optional underline As RtfUnderlineStyle = RtfUnderlineStyle.None)
Parameters
Type Name Description
string target

The target object (URL, bookmark ...) as string.

Color color

The text color of the hyperlink.

RtfUnderlineStyle underline

The underline type of the hyperlink.

The Word/RTF hyperlink constructor with attributes.

Declaration
public RtfHyperlink(RtfObject owner, string target, Color color, RtfUnderlineStyle underline = RtfUnderlineStyle.None)
Public Sub New(owner As RtfObject, target As String, color As Color, Optional underline As RtfUnderlineStyle = RtfUnderlineStyle.None)
Parameters
Type Name Description
RtfObject owner

The owner RtfObject object.

string target

The target object (URL, bookmark ...) as string.

Color color

The text color of the hyperlink.

RtfUnderlineStyle underline

The underline type of the hyperlink.