Expand Minimize

Selection.InsertParagraph method

Replaces the specified selection with a new paragraph.

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

void InsertParagraph()

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

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

Show:
© 2014 Microsoft