EmailOptions.AutoFormatAsYouTypeReplaceSymbols Property

Definition

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

public:
 property bool AutoFormatAsYouTypeReplaceSymbols { bool get(); void set(bool value); };
public bool AutoFormatAsYouTypeReplaceSymbols { get; set; }
member this.AutoFormatAsYouTypeReplaceSymbols : bool with get, set
Public Property AutoFormatAsYouTypeReplaceSymbols As Boolean

Property Value

Remarks

This property returns True if two consecutive hyphens (--) are replaced, and False if not.

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.

Applies to