Skip to main content
A newer version of this page is available. .

ASPxHtmlEditor.Export(HtmlEditorExportFormat, Boolean) Method

Exports editor contents to the specified format, based on the provided settings.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public void Export(
    HtmlEditorExportFormat format,
    bool saveAsFile
)

Parameters

Name Type Description
format HtmlEditorExportFormat

One of the HtmlEditorExportFormat enumeration values specifying the exported document format.

saveAsFile Boolean

true to save the exported document as a downloadable attachment, false to open the document in the browser window (if it is allowed for the document format).

Remarks

DevExpress controls require the DevExpress.RichEdit.v20.2.Export.dll library to export their content to DOCX or RTF format.

See Also