Skip to main content

ASPxHtmlEditor.Import(HtmlEditorImportFormat, Stream, Boolean) Method

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

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void Import(
    HtmlEditorImportFormat format,
    Stream inputStream,
    bool useInlineStyles
)

Parameters

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.

useInlineStyles Boolean

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

See Also