Represents the formatting capabilities required for correct export of the document.
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");
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DocumentExportCapabilities struct.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.