A newer version of this page is available. Switch to the current version.

ASPxHtmlEditor.Import(String, Boolean, String) Method

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

Namespace: DevExpress.Web.ASPxHtmlEditor

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


public void Import(
    string filePath,
    bool useInlineStyles,
    string contentFolder
Public Sub Import(
    filePath As String,
    useInlineStyles As Boolean,
    contentFolder As String


Name Type Description
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.

contentFolder String

A string value specifying the path to a folder that should contain content files (such as images and/or css files) of the imported document.

See Also