HtmlEditorExtension.Export(HtmlEditorSettings, HtmlEditorExportFormat, Boolean) Method
Exports editor contents to the specified format, based on the provided settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public static ActionResult Export(
HtmlEditorSettings settings,
HtmlEditorExportFormat format,
bool saveAsFile
)
Parameters
Name | Type | Description |
---|---|---|
settings | HtmlEditorSettings | A HtmlEditorSettings object that contains HtmlEditor settings. |
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). |
Returns
Type | Description |
---|---|
ActionResult | A ActionResult encapsulating the result of the export operation. |
See Also