Share via


Options.ReplaceSelection Property

True if the result of typing or pasting replaces the selection. False if the result of typing or pasting is added before the selection, leaving the selection intact.

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

Syntax

'Declaration
Property ReplaceSelection As Boolean
    Get
    Set
'Usage
Dim instance As Options
Dim value As Boolean

value = instance.ReplaceSelection

instance.ReplaceSelection = value
bool ReplaceSelection { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

Options Interface

Options Members

Microsoft.Office.Interop.Word Namespace