PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderText Class / RenderText Constructor / RenderText Constructor(String,Style,Style)
A string assigned to the Text property.
The style assigned to the Parent property of the current object's style.
The style assigned to the AmbientParent property of the current object's style.

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

    Parameters

    text
    A string assigned to the Text property.
    parentStyle
    The style assigned to the Parent property of the current object's style.
    ambientParentStyle
    The style assigned to the AmbientParent property of the current object's style.
    See Also