PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / RenderText Class / RenderText Constructor / RenderText Constructor(String,Font,Color)
A string assigned to the Text property.
The font used to render the text.
The text color used to render the text.

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

    Parameters

    text
    A string assigned to the Text property.
    font
    The font used to render the text.
    textColor
    The text color used to render the text.
    See Also