Partager via


Selection.LanguageIDOther Property (Word)

Returns or sets the language for the specified object. Read/write WdLanguageID.

Syntax

expression .LanguageIDOther

expression Required. A variable that represents a Selection object.

Remarks

This is the recommended way to return or set the language of Latin text in a document created in a right-to-left language version of Microsoft Word.

Example

This example sets the language of the selection to French.

Selection.LanguageIDOther = wdFrench

See Also

Concepts

Selection Object

Selection Object Members