PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderBlockRichText Method / RenderBlockRichText(String,Object) Method
Text to render, can be plain text.
If null then parent width will be used.

In This Topic
    RenderBlockRichText(String,Object) Method
    In This Topic
    Renders the RTF text with autoheight.
    Syntax
    'Declaration
     
    Public Overloads Function RenderBlockRichText( _
       ByVal rtf As String, _
       ByVal width As Object _
    ) As Boolean
    public bool RenderBlockRichText( 
       string rtf,
       object width
    )

    Parameters

    rtf
    Text to render, can be plain text.
    width
    If null then parent width will be used.

    Return Value

    Returns true if no warnings occur during rendering the object.
    See Also