Skip to main content

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.v24.2.dll

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.v24.2.Export.dll library to export their content to DOCX or RTF format.

See Also