Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ParagraphCollection Class / Add Method / Add(String,Style) Method
The text of the inserted Paragraph
The paragraph style.

In This Topic
    Add(String,Style) Method
    In This Topic
    Adds a Paragraph to this collection at the InsertLocation.End location.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal text As System.String, _
       ByVal style As Style _
    ) As Paragraph
    public Paragraph Add( 
       System.string text,
       Style style
    )

    Parameters

    text
    The text of the inserted Paragraph
    style
    The paragraph style.

    Return Value

    The added Paragraph.
    See Also