Skip to main content

DocumentFormat Struct

A document format.

Namespace: DevExpress.XtraRichEdit

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

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

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