Adds a text hyperlink to the current paragraph content.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public ParagraphText AddHyperlink(
	string text,
	ParagraphObject paragraphObject
)
Visual Basic
Public Function AddHyperlink ( _
	text As String, _
	paragraphObject As ParagraphObject _
) As ParagraphText

Parameters

text
Type: System..::..String
The text string to add.
paragraphObject
Type: C1.C1Preview..::..ParagraphObject
A ParagraphObject which is the target of the hyperlink.

Return Value

A ParagraphText object representing the specified text string, associated with the specified hyperlink.

Remarks

This method creates a ParagraphText, initializes it with the specified text, sets the Hyperlink on that object to a C1Hyperlink initialized with paragraphObject, and adds it to the current collection.

See Also