[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.RunCollection.Insert

Insert Method

Insert(InsertLocation)

Inserts a Run into this collection at a specified location.

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

The target InsertLocation for the insertion.

Returns
Type Description
Run

The inserted Run.

Insert(string, InsertLocation)

Inserts a Run into this collection at a specified location.

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

The text of the inserted Run

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Run

The inserted Run.

Insert(Style, InsertLocation)

Inserts a Run into this collection at a specified location.

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

The run character or linked paragraph style.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Run

The inserted Run.

Insert(string, Style, InsertLocation)

Inserts a Run into this collection at a specified location.

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

The text of the inserted Run

Style style

The run character or linked paragraph style.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Run

The inserted Run.