Renders a string into the current inline paragraph, using the specified font style.

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

Syntax

C#
public bool RenderInlineText(
	string text,
	FontStyle fontStyle
)
Visual Basic
Public Function RenderInlineText ( _
	text As String, _
	fontStyle As FontStyle _
) As Boolean

Parameters

text
Type: System..::..String
The string to add to the Content of the current inline paragraph.
fontStyle
Type: System.Drawing..::..FontStyle
The FontStyle to use for the text.

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 style, 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).

See Also