PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 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