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

In This Topic
    RenderText Constructor(String,Style)
    In This Topic
    Initializes a new instance of the RenderText class, assigning the 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 Text property.
    style
    A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's Style).
    See Also