Skip to main content
.NET Framework 4.5.2+

DataFormatOptions Class

Contains settings related to the clipboard operations with different document formats.

Namespace: DevExpress.XtraRichEdit

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

Declaration

[ComVisible(true)]
public class DataFormatOptions :
    RichEditNotificationOptions

Remarks

The code sample below shows how to specify DataFormatOptions:

using (RichEditDocumentServer wordProcessor = new RichEditDocumentServer())
{
  DataFormatOptions richEditDataFormatOptions = wordProcessor.Options.ClipboardFormats;
  richEditDataFormatOptions.PlainText = RichEditClipboardMode.Disabled;
  richEditDataFormatOptions.Rtf = RichEditClipboardMode.CopyOnly;
  richEditDataFormatOptions.Html = RichEditClipboardMode.Enabled;
}
See Also