Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Document.SaveDocument(String, DocumentFormat) Method

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

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

void SaveDocument(
    string fileName,
    DocumentFormat format
)

Parameters

Name Type Description
fileName String

A string value specifying the path to a file into which to save the control’s document.

format DocumentFormat

One of the DocumentFormat enumeration values.

Remarks

You can check the Document.RequiredExportCapabilities, to be sure that the chosen export format supports them.

Note

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

See Also