Adds a text string with the specified font and text color to the current paragraph content.

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

Syntax

C#
public ParagraphText AddText(
	string text,
	Font font,
	Color textColor
)
Visual Basic
Public Function AddText ( _
	text As String, _
	font As Font, _
	textColor As Color _
) As ParagraphText

Parameters

text
Type: System..::..String
The text string to add.
font
Type: System.Drawing..::..Font
The font to use to render the string.
textColor
Type: System.Drawing..::..Color
The text color to use to render the string.

Return Value

A ParagraphText object representing the specified text string.

Remarks

This method creates a ParagraphText, initializes it with the specified text, font and text color, and adds it to the current collection.

See Also