.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

DocumentProperties.ContentType Property

Gets or sets metadata recognized as 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.v19.2.Core.dll

Declaration

string ContentType { get; set; }
Property ContentType As String
string ContentType { get; set; }
Property ContentType As String
string ContentType { get; set; }
Property ContentType As String

Property Value

Type Description
String

A string of text.

Property Value

Type Description
String

A string of text.

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