Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderText Class / RenderText Constructor / RenderText Constructor(String,AlignHorzEnum)
A string assigned to the Text property.
The horizontal text alignment.

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

    Parameters

    text
    A string assigned to the Text property.
    horzAlign
    The horizontal text alignment.
    See Also