Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

DocumentProperties.Language Property

Gets or sets the language of the document’s content.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v20.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

string Language { get; set; }

Property Value

Type Description
String

A string of text which conforms to the IETF RFC 3066, such as “en-US” to identify American English.

Remarks

The Language property allows you to specify one of the core document properties, a full set of which is available with the Document.DocumentProperties property. To specify a custom document property, use the Document.CustomProperties property.

Note

The Language property is supported in DOCX and DOC documents only.

See Also