PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / ParagraphText Class / ParagraphText Constructor / ParagraphText Constructor(String,Font)
A string assigned to the ParagraphText.Text property of the current object.
The font to use.

In This Topic
    ParagraphText Constructor(String,Font)
    In This Topic
    Initializes a new instance of the ParagraphText class, assigning the ParagraphText.Text property, and specifying the font.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal text As String, _
       ByVal font As Font _
    )
    public ParagraphText( 
       string text,
       Font font
    )

    Parameters

    text
    A string assigned to the ParagraphText.Text property of the current object.
    font
    The font to use.
    See Also