Renders a string into the current inline paragraph,
using the specified font and text color.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public bool RenderInlineText( string text, Font font, Color textColor ) |
Visual Basic |
---|
Public Function RenderInlineText ( _ text As String, _ font As Font, _ textColor As Color _ ) As Boolean |
Parameters
- text
- Type: System..::..String
The string to add to the Content of the current inline paragraph.
- font
- Type: System.Drawing..::..Font
The font to use for the specified text.
- textColor
- Type: System.Drawing..::..Color
The text color to use.
Return Value
true if no warnings were generated by this call, false otherwise.Remarks
This method creates a new ParagraphText object
with the specified font and color,
and adds it to the current internally maintained RenderParagraph object.
A new paragraph is started if there is no current one.
This method can only be used between calls to StartDoc()()()() and EndDoc()()()() methods on the current document. For details, see RenderBlock(RenderObject).