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)

'Usage
Dim Type As Object
Dim range1 As Range
range1.InsertBreak(Type)

void InsertBreak(
	[In, Optional] ref object Type
);
public void InsertBreak(
	/*in*/System.Object Type
);
function InsertBreak(
	 Type : Object
);

Parameters

Type

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft