PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / ParagraphText Class / ParagraphText Constructor / ParagraphText Constructor(String,Style)
A string assigned to the 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 Style).

In This Topic
    ParagraphText Constructor(String,Style)
    In This Topic
    Initializes a new instance of the ParagraphText class, assigning the 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 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 Style).
    See Also