[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TextCollection.InsertBreak

InsertBreak Method

InsertBreak(InsertLocation)

Inserts a line Break into this collection at a specified location.

Declaration
public Break InsertBreak(InsertLocation location)
Public Function InsertBreak(location As InsertLocation) As Break
Parameters
Type Name Description
InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Break

The inserted Break.

InsertBreak(BreakType, InsertLocation)

Inserts a Break into this collection at a specified location.

Declaration
public Break InsertBreak(BreakType type, InsertLocation location)
Public Function InsertBreak(type As BreakType, location As InsertLocation) As Break
Parameters
Type Name Description
BreakType type

The break type.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Break

The inserted Break.

InsertBreak(BreakType, BreakClear, InsertLocation)

Inserts a Break into this collection at a specified location.

Declaration
public Break InsertBreak(BreakType type, BreakClear clear, InsertLocation location)
Public Function InsertBreak(type As BreakType, clear As BreakClear, location As InsertLocation) As Break
Parameters
Type Name Description
BreakType type

The break type.

BreakClear clear

The location that shall be used as the next available line when the type has a value of TextWrapping.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Break

The inserted Break.