PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / ParagraphObjectCollection Class / AddText Method / AddText(String) Method
The text string to add.

In This Topic
    AddText(String) Method
    In This Topic
    Adds a text string to the current paragraph content.
    Syntax
    'Declaration
     
    Public Overloads Function AddText( _
       ByVal text As String _
    ) As ParagraphText
    public ParagraphText AddText( 
       string text
    )

    Parameters

    text
    The text string to add.

    Return Value

    A ParagraphText object representing the specified text string.
    Remarks
    This method creates a ParagraphText, initializes it with the specified text, and adds it to the current collection.
    See Also