PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RenderText Class / RenderText Constructor / RenderText Constructor(String,Style)
A string assigned to the RenderText.Text property.
A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's RenderObject.Style).

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

    Parameters

    text
    A string assigned to the RenderText.Text property.
    style
    A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's RenderObject.Style).
    See Also