Skip to main content

DataFormatOptions Class

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

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

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