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

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

    Parameters

    rtf
    Text to render, can be plain text.
    width
    If null then parent width will be used.
    height
    If null then autoheight will be used.
    style
    Style of object.

    Return Value

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