Options.AutoFormatAsYouTypeReplaceSymbols Property

True if two consecutive hyphens (--) are replaced with an en dash (–) or an em dash (— ) as you type.

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

Syntax

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

value = instance.AutoFormatAsYouTypeReplaceSymbols

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

Property Value

Type: System.Boolean

Remarks

If the hyphens are typed with leading and trailing spaces, Microsoft Word replaces the hyphens with an en dash; if there are no trailing spaces, the hyphens are replaced with an em dash.

See Also

Reference

Options Interface

Options Members

Microsoft.Office.Interop.Word Namespace