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

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

    Parameters

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