PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument 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