[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ParagraphCollection.Insert

Insert Method

Insert(InsertLocation)

Inserts a Paragraph into this collection at a specified location.

Declaration
public Paragraph Insert(InsertLocation location)
Public Function Insert(location As InsertLocation) As Paragraph
Parameters
Type Name Description
InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Paragraph

The inserted Paragraph.

Insert(string, InsertLocation)

Inserts a Paragraph into this collection at a specified location.

Declaration
public Paragraph Insert(string text, InsertLocation location)
Public Function Insert(text As String, location As InsertLocation) As Paragraph
Parameters
Type Name Description
string text

The text of the inserted Paragraph

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Paragraph

The inserted Paragraph.

Insert(Style, InsertLocation)

Inserts a Paragraph into this collection at a specified location.

Declaration
public Paragraph Insert(Style style, InsertLocation location)
Public Function Insert(style As Style, location As InsertLocation) As Paragraph
Parameters
Type Name Description
Style style

The paragraph style.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Paragraph

The inserted Paragraph.

Insert(string, Style, InsertLocation)

Inserts a Paragraph into this collection at a specified location.

Declaration
public Paragraph Insert(string text, Style style, InsertLocation location)
Public Function Insert(text As String, style As Style, location As InsertLocation) As Paragraph
Parameters
Type Name Description
string text

The text of the inserted Paragraph

Style style

The paragraph style.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Paragraph

The inserted Paragraph.