Skip to main content

DocumentProperties.ContentType Property

Gets or sets the type of the content, defined by a specific use and intended audience (Whitepaper, Security Bulletin, Exam etc.)

Namespace: DevExpress.XtraRichEdit.API.Native

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

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

Declaration

string ContentType { get; set; }

Property Value

Type Description
String

A string of text.

Remarks

The ContentType 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 ContentType property is excluded from core properties in ECMA-376 4th edition (December 2012). It is supported in DOCX documents only.

See Also