Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

Selection.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 selection1 As Selection
selection1.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. WdBreakType

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 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.


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

Anzeigen: