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

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

    Parameters

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