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

ASPxHtmlEditor.Import(HtmlEditorImportFormat, Stream, String) Method

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

Namespace: DevExpress.Web.ASPxHtmlEditor

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


public void Import(
    HtmlEditorImportFormat format,
    Stream inputStream,
    string contentFolder
Public Sub Import(
    format As HtmlEditorImportFormat,
    inputStream As Stream,
    contentFolder As String


Name Type Description
format HtmlEditorImportFormat

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

inputStream Stream

A Stream object from which the editor content is imported.

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