Skip to main content
A newer version of this page is available. .

ASPxHtmlEditor.Import(HtmlEditorImportFormat, String, Boolean) Method

Imports the editor content from a specific file, based on the provided settings.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public void Import(
    HtmlEditorImportFormat format,
    string filePath,
    bool useInlineStyles
)

Parameters

Name Type Description
format HtmlEditorImportFormat

One of the HtmlEditorImportFormat enumeration values specifying the imported file format.

filePath String

A string value specifying the path to a file whose content should be imported.

useInlineStyles Boolean

true to embed document formatting styles into the editor content; false to store formatting styles in a separate css file.

See Also