Range.Relocate Method

In outline view, moves the paragraphs within the specified range after the next visible paragraph or before the previous visible paragraph.

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

Syntax

'Declaration
Sub Relocate ( _
    Direction As Integer _
)
'Usage
Dim instance As Range
Dim Direction As Integer

instance.Relocate(Direction)
void Relocate(
    int Direction
)

Parameters

Remarks

Body text moves with a heading only if the body text is collapsed in outline view or if it's part of the range.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Word Namespace