Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ParagraphCollection Class / Insert Method / Insert(String,Style,InsertLocation) Method
The text of the inserted Paragraph
The paragraph style.
The target InsertLocation for the insertion.

In This Topic
    Insert(String,Style,InsertLocation) Method
    In This Topic
    Inserts a Paragraph into this collection at a specified location.
    Syntax
    'Declaration
     
    Public Overloads Function Insert( _
       ByVal text As System.String, _
       ByVal style As Style, _
       ByVal location As InsertLocation _
    ) As Paragraph
    public Paragraph Insert( 
       System.string text,
       Style style,
       InsertLocation location
    )

    Parameters

    text
    The text of the inserted Paragraph
    style
    The paragraph style.
    location
    The target InsertLocation for the insertion.

    Return Value

    The inserted Paragraph.
    See Also