ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderText Class / RenderText Constructor / RenderText Constructor(String,Font,Color,AlignHorzEnum)
A string assigned to the Text property.
The font used to render the text.
The text color used to render the text.
The horizontal text alignment.

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

    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.
    horzAlign
    The horizontal text alignment.
    See Also