Back to Devexpress

Document.SaveDocument(Stream, DocumentFormat) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-dot-savedocument-x28-system-dot-io-dot-stream-devexpress-dot-xtrarichedit-dot-documentformat-x29.md

latest2.0 KB
Original Source

Document.SaveDocument(Stream, DocumentFormat) Method

Saves the document to a stream, specifying the document’s format.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
void SaveDocument(
    Stream stream,
    DocumentFormat format
)
vb
Sub SaveDocument(
    stream As Stream,
    format As DocumentFormat
)

Parameters

NameTypeDescription
streamStream

The stream into which to save the document.

| | format | DocumentFormat |

One of DocumentFormat enumeration values.

|

Remarks

Note

The SaveDocument method call does not automatically change the Modified property value.

See Also

LoadDocument

How to: Save a Document in the RichEditControl

BeforeExport

IUriProvider

Document Interface

Document Members

DevExpress.XtraRichEdit.API.Native Namespace