Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentFormat Struct

A document format.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

[ComVisible(true)]
[TypeConverter(typeof(DocumentFormatTypeConverter))]
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