次の方法で共有


Options.AutoFormatAsYouTypeReplacePlainTextEmphasis Property (Word)

True if manual emphasis characters are automatically replaced with character formatting as you type. For example, "*bold*" is changed to "bold" and "_underline_" is changed to "underline." Read/write Boolean.

Syntax

expression .AutoFormatAsYouTypeReplacePlainTextEmphasis

expression A variable that represents an Options collection.

Example

This example turns on the replacement of manual emphasis characters with character formatting.

Options.AutoFormatAsYouTypeReplacePlainTextEmphasis = True

This example returns the status of the *Bold* and _underline_ with real formatting option on the AutoFormat As You Type tab in the AutoCorrect dialog box (Tools menu).

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = _ 
 Options.AutoFormatAsYouTypeReplacePlainTextEmphasis

See Also

Concepts

Options Object

Options Object Members