PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderInlineText Method / RenderInlineText(String,Style) Method
The string to add to the RenderParagraph.Content of the current inline paragraph.
The C1PrintDocument.Style to apply to the specified text.

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

    Parameters

    text
    The string to add to the RenderParagraph.Content of the current inline paragraph.
    style
    The C1PrintDocument.Style to apply to the specified 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 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 C1PrintDocument.StartDoc and C1PrintDocument.EndDoc methods on the current document. For details, see C1PrintDocument.RenderBlock.

    See Also