PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / RenderText Class / RenderText Constructor / RenderText Constructor(String,Style,Style)
A string assigned to the RenderText.Text property.
The style assigned to the Style.Parent property of the current object's style.
The style assigned to the Style.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 RenderText.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 RenderText.Text property.
    parentStyle
    The style assigned to the Style.Parent property of the current object's style.
    ambientParentStyle
    The style assigned to the Style.AmbientParent property of the current object's style.
    See Also