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

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

    Parameters

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