The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DocumentExportCapabilities Struct

Represents the formatting capabilities required for correct export of the document.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

[ComVisible(false)]
public struct DocumentExportCapabilities :
    IConvertToInt<DocumentExportCapabilities>
<ComVisible(False)>
Public Structure DocumentExportCapabilities
    Implements IConvertToInt(Of DocumentExportCapabilities)
[ComVisible(false)]
public struct DocumentExportCapabilities :
    IConvertToInt<DocumentExportCapabilities>
<ComVisible(False)>
Public Structure DocumentExportCapabilities
    Implements IConvertToInt(Of DocumentExportCapabilities)

Remarks

The following code snippet illustrates how you can detect if the capabilities of your custom exporter match the formatting capabilities required to export the current document. First, declare the exporter capabilities in the DocumentExportCapabilities structure, and then compare it with the structure obtained via the Document.RequiredExportCapabilities property.

DevExpress.XtraRichEdit.DocumentExportCapabilities myExportFeatures = 
    new DevExpress.XtraRichEdit.DocumentExportCapabilities();
myExportFeatures.CharacterFormatting = true;
myExportFeatures.ParagraphFormatting = true;
myExportFeatures.InlinePictures= true;

if(myExportFeatures.Contains(richEditControl1.Document.RequiredExportCapabilities))
    MessageBox.Show("The document can be exported");
See Also