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.v18.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).

See Also