Skip to main content
All docs
V24.2
JS

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditBuilder.Open(Func<Stream>, DocumentFormat, String) Method

Opens a document specified by a stream.

Namespace: DevExpress.AspNetCore.RichEdit

Assembly: DevExpress.AspNetCore.RichEdit.v24.2.dll

NuGet Package: DevExpress.AspNetCore.RichEdit

#Declaration

C#
public RichEditBuilder Open(
    Func<Stream> contentAccessorByStream,
    DocumentFormat format,
    string documentName = null
)

#Parameters

Name Type Description
contentAccessorByStream Func<Stream>

A method delegate that gets a stream from which to open the document.

format DocumentFormat

An object that specifies the document format.

#Optional Parameters

Name Type Default Description
documentName String null

The name of the file to open. Also serves as an exported file name.

#Returns

Type Description
RichEditBuilder

A RichEditBuilder that allows you to configure the Rich Text Editor.

See Also