Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

DocumentFormat Struct

A document format.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

[TypeConverter(typeof(DocumentFormatTypeConverter))]
[ComVisible(true)]
public struct DocumentFormat :
    IConvertToInt<DocumentFormat>,
    IEquatable<DocumentFormat>

Remarks

The DocumentFormat structure contains the fields to specify the file format of the document.

The following methods use the DocumentFormat enumeration:

Action Method
Save Document.SaveDocument
RichEditControl.SaveDocument
RichEditControl.SaveDocument
RichEditDocumentServer.SaveDocument
ASPxRichEdit.SaveCopy
RichEditExtension.SaveCopy
RichEditDocumentInfo.SaveCopy
Load Document.LoadDocument
RichEditControl.LoadDocument
RichEditDocumentServer.LoadDocument
ASPxRichEdit.Open
RichEditExtension.Open
Mail Merge Document.MailMerge
RichEditDocumentServer.MailMerge
RichEditControl.MailMerge
RichEditControl.MailMerge
ASPxRichEdit.MailMerge
RichEditExtension.MailMerge
Add Document Content SubDocument.InsertDocumentContent
SubDocument.AppendDocumentContent
Document.Paste
Specify Property Values DocumentSaveOptions.DefaultFormat
DocumentSaveOptions.CurrentFormat
BeforeExportEventArgs.DocumentFormat
BeforeImportEventArgs.DocumentFormat
RichEditDocumentInfo.DocumentFormat

Note

We do not recommend that you use the DocumentFormat.Undefined field as the SaveDocument or SaveCopy method parameter. Otherwise, the document is saved with invalid format.

See Also