PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / ParagraphText Class / ParagraphText Constructor / ParagraphText Constructor(String,Style)
A string assigned to the ParagraphText.Text property of the current object.
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
    ParagraphText Constructor(String,Style)
    In This Topic
    Initializes a new instance of the ParagraphText class, assigning the ParagraphText.Text property, and specifying the Style.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal text As String, _
       ByVal style As Style _
    )
    public ParagraphText( 
       string text,
       Style style
    )

    Parameters

    text
    A string assigned to the ParagraphText.Text property of the current object.
    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