Range.InsertParagraph Method 

Replaces the specified range with a new paragraph.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim range1 As Range
range1.InsertParagraph()

Syntax

Sub InsertParagraph()
void InsertParagraph();
public: Void InsertParagraph();
public void InsertParagraph();
function InsertParagraph();

Remarks

After this method has been used, the range is the new paragraph.

If you don't want to replace the range, use the Collapse method before using this method. The InsertParagraphAfter method inserts a new paragraph following a Range object.

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Range Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Range Members