PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / RenderRichText Class / RenderRichText Constructor / RenderRichText Constructor(String,Style)
A RTF-formatted string assigned to the Rtf property.
A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's 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 Rtf property.
    style
    A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's Style).
    See Also