Skip to main content

DocumentProperties.Language Property

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

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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