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