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
- Direction
Type: System.Int32
Required WdRelocate. The direction of the move.
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.