Documents for Word, .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / TextCollection Class / AddBreak Method / AddBreak(BreakType,BreakClear) Method
The break type.
The location that shall be used as the next available line when the type has a value of BreakType.TextWrapping.

In This Topic
    AddBreak(BreakType,BreakClear) Method
    In This Topic
    Adds a Break to this collection at the InsertLocation.End location.
    Syntax
    'Declaration
     
    Public Overloads Function AddBreak( _
       ByVal type As BreakType, _
       ByVal clear As BreakClear _
    ) As Break
    public Break AddBreak( 
       BreakType type,
       BreakClear clear
    )

    Parameters

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

    Return Value

    The added Break.
    See Also