Skip to main content

DataFormatOptions Class

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

Namespace: DevExpress.XtraRichEdit

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

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

Declaration

[ComVisible(true)]
public class DataFormatOptions :
    RichEditNotificationOptions

The following members return DataFormatOptions objects:

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