Export (0) Print
Expand All

Range.InsertBefore method

Inserts the specified text before the specified range.

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

void InsertBefore(
	string Text


Type: System.String

Required String. The text to be inserted.

After the text is inserted, the range is expanded to include the new text. If the range is a bookmark, the bookmark is also expanded to include the next text.

© 2014 Microsoft