Skip to main content

HtmlEditorExtension.Export(HtmlEditorSettings, HtmlEditorExportFormat) Method

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static ActionResult Export(
    HtmlEditorSettings settings,
    HtmlEditorExportFormat format
)

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.

Returns

Type Description
ActionResult

A ActionResult encapsulating the result of the export operation.

See Also