ComponentOne Word for WinForms
C1.C1Word.4.8 Assembly / C1.C1Word.Objects Namespace / RtfString Class / RtfString Constructor / RtfString Constructor(String,Font,RtfUnderlineStyle)
The text string.
Used drawing font for this string.
Used underline for this string if font underline.

In This Topic
    RtfString Constructor(String,Font,RtfUnderlineStyle)
    In This Topic
    Create RTF string with character formatting.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal text As System.String, _
       ByVal font As System.Drawing.Font, _
       ByVal underline As RtfUnderlineStyle _
    )
    public RtfString( 
       System.string text,
       System.Drawing.Font font,
       RtfUnderlineStyle underline
    )

    Parameters

    text
    The text string.
    font
    Used drawing font for this string.
    underline
    Used underline for this string if font underline.
    See Also