[]
        
(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)
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)
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)
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)
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.