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

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

    Parameters

    text
    A string assigned to the RenderText.Text property.
    font
    The font used to render the text.
    horzAlign
    The horizontal text alignment.
    See Also