Back to Devexpress

DocumentFormat Struct

officefileapi-devexpress-dot-xtrarichedit-9392ad75.md

latest6.6 KB
Original Source

DocumentFormat Struct

A document format.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
[TypeConverter(typeof(DocumentFormatTypeConverter))]
public struct DocumentFormat :
    IConvertToInt<DocumentFormat>,
    IEquatable<DocumentFormat>
vb
<TypeConverter(GetType(DocumentFormatTypeConverter))>
<ComVisible(True)>
Public Structure DocumentFormat
    Implements IConvertToInt(Of DocumentFormat),
               IEquatable(Of DocumentFormat)

The following members return DocumentFormat objects:

Show 15 links

LibraryRelated API Members
WinForms ControlsRepositoryItemRichTextEdit.DocumentFormat
WPF ControlsDXRichEditDocumentImportOptions.FallbackFormat
DXRichEditDocumentSaveOptions.CurrentFormat
DXRichEditDocumentSaveOptions.DefaultFormat
IRichEditDocumentLoader.Format
RichEditDocumentContent.Format
RichEditDocumentSource.Format
Office File APIBeforeExportEventArgs.DocumentFormat
BeforeImportEventArgs.DocumentFormat
DocumentSaveOptions.CurrentFormat
DocumentSaveOptions.DefaultFormat
IFormatDetectorService.DetectFormat(Stream)
PasteSelectionCommand.Format
RichEditDocumentImportOptions.FallbackFormat
ASP.NET Web Forms ControlsRichEditDocumentInfo.DocumentFormat

Remarks

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

The following methods use the DocumentFormat enumeration:

ActionMethod
SaveDocument.SaveDocument
RichEditControl.SaveDocument
RichEditControl.SaveDocument
RichEditDocumentServer.SaveDocument
ASPxRichEdit.SaveCopy
RichEditExtension.SaveCopy
RichEditDocumentInfo.SaveCopy
LoadDocument.LoadDocument
RichEditControl.LoadDocument
RichEditDocumentServer.LoadDocument
ASPxRichEdit.Open
RichEditExtension.Open
Mail MergeDocument.MailMerge
RichEditDocumentServer.MailMerge
RichEditControl.MailMerge
RichEditControl.MailMerge
ASPxRichEdit.MailMerge
RichEditExtension.MailMerge
Add Document ContentSubDocument.InsertDocumentContent
SubDocument.AppendDocumentContent
Document.Paste
Specify Property ValuesDocumentSaveOptions.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.

Implements

IEquatable<DocumentFormat>

See Also

DocumentFormat Members

SaveDocument

LoadDocument

DevExpress.XtraRichEdit Namespace