Selection.InsertBreak(Object) Method

Definition

Inserts a page, column, or section break.

public void InsertBreak (ref object Type);
abstract member InsertBreak : obj -> unit
Public Sub InsertBreak (Optional ByRef Type As Object)

Parameters

Type
Object

Optional Object. The type of break to be inserted. WdBreakType

Remarks

When you insert a page or column break, the selection is replaced by the break. If you don't want to replace the selection, use the Collapse(Object) method before using the InsertBreak method. When you insert a section break, the break is inserted immediately preceding the Selection object.

Some of the WdBreakType constants may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

Applies to