PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / RenderRichText Class / RenderRichText Constructor / RenderRichText Constructor(String,Style)
A RTF-formatted string assigned to the RenderRichText.Rtf property.
A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's RenderObject.Style).

In This Topic
    RenderRichText Constructor(String,Style)
    In This Topic
    Initializes a new instance of the RenderRichText class, using the specified RTF string and style.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal rtf As String, _
       ByVal style As Style _
    )
    public RenderRichText( 
       string rtf,
       Style style
    )

    Parameters

    rtf
    A RTF-formatted string assigned to the RenderRichText.Rtf property.
    style
    A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's RenderObject.Style).
    See Also