Selection.TypeText Method

Inserts the specified text.

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

void TypeText(
	string Text
)

Parameters

Text
Type: System.String
Required String. The text to be inserted.

If the ReplaceSelection property is True, the selection is replaced by the specified text. If ReplaceSelection is False, the specified text is inserted before the selection.

Community Additions

ADD
Show: