PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderInlineText Method / RenderInlineText(String,Font,Color) Method
The string to add to the Content of the current inline paragraph.
The font to use for the specified text.
The text color to use.

In This Topic
    RenderInlineText(String,Font,Color) Method
    In This Topic
    Renders a string into the current inline paragraph, using the specified font and text color.
    Syntax
    'Declaration
     
    Public Overloads Function RenderInlineText( _
       ByVal text As String, _
       ByVal font As Font, _
       ByVal textColor As Color _
    ) As Boolean
    public bool RenderInlineText( 
       string text,
       Font font,
       Color textColor
    )

    Parameters

    text
    The string to add to the Content of the current inline paragraph.
    font
    The font to use for the specified text.
    textColor
    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.

    See Also