Adds a text string with the specified text color and position to the current paragraph content.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public ParagraphText AddText( string text, Color textColor, TextPositionEnum textPosition ) |
Visual Basic |
---|
Public Function AddText ( _ text As String, _ textColor As Color, _ textPosition As TextPositionEnum _ ) As ParagraphText |
Parameters
- text
- Type: System..::..String
The text string to add.
- textColor
- Type: System.Drawing..::..Color
The text color to use to render the string.
- textPosition
- Type: C1.C1Preview..::..TextPositionEnum
The text position 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, text color and position, and adds it
to the current collection.