Export (0) Print
Expand All
Expand Minimize

Range.InsertBreak method

Inserts a page, column, or section break.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

void InsertBreak(
	ref Object Type
)

Parameters

Type
Type: System.Object

Optional Object. The type of break to be inserted. Can be one of the WdBreakType constants.

When you insert a page or column break, the range is replaced by the break. If you don't want to replace the range, use the Collapse method before using the InsertBreak method. When you insert a section break, the break is inserted immediately preceding the Range 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.

Show:
© 2015 Microsoft