C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / ParagraphObjectCollection Class / AddText Method / AddText(String,Color) Method
The text string to add.
The text color to use to render the string.

In This Topic
AddText(String,Color) Method
In This Topic
Adds a text string with the specified text color to the current paragraph content.
Syntax
'Declaration
 
Public Overloads Function AddText( _
   ByVal text As String, _
   ByVal textColor As Color _
) As ParagraphText
 

Parameters

text
The text string to add.
textColor
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 and text color, and adds it to the current collection.
See Also