.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Document.SaveDocument(Stream, DocumentFormat) Method

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

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

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

Parameters

Name Type Description
stream Stream

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