TextRange.LanguageID Property

Returns or sets the language for the specified text range. Read/write.

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

Syntax

'Declaration
Property LanguageID As MsoLanguageID
    Get
    Set
'Usage
Dim instance As TextRange
Dim value As MsoLanguageID

value = instance.LanguageID

instance.LanguageID = value
MsoLanguageID LanguageID { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoLanguageID

Remarks

The LanguageID property is used for tagging portions of text that is written in a different language than the DefaultLanguageID property specifies. This allows Microsoft PowerPoint to check spelling and grammar according to the language for each text range. This property is not related to the application interface language.

The value of the LanguageID property can be one of the MsoLanguageID constants.

See Also

Reference

TextRange Interface

TextRange Members

Microsoft.Office.Interop.PowerPoint Namespace