Skip to main content

HtmlEditorExtension.Export(HtmlEditorSettings, HtmlEditorExportFormat, String) Method

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

#Declaration

public static ActionResult Export(
    HtmlEditorSettings settings,
    HtmlEditorExportFormat format,
    string fileName
)

#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.

fileName String

A string value specifying the exported file’s name.

#Returns

Type Description
ActionResult

A ActionResult encapsulating the result of the export operation.

See Also