Back to Devexpress

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

aspnetcore-devexpress-dot-aspnetcore-dot-richedit-dot-richeditbuilder-dot-open-x28-system-dot-func-system-dot-io-dot-stream-devexpress-dot-aspnetcore-dot-richedit-dot-documentformat-system-dot-string-x29.md

latest1.8 KB
Original Source

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

Opens a document specified by a stream.

Namespace : DevExpress.AspNetCore.RichEdit

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

NuGet Package : DevExpress.AspNetCore.RichEdit

Declaration

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

Parameters

NameTypeDescription
contentAccessorByStreamFunc<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

NameTypeDefaultDescription
documentNameStringnull

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

|

Returns

TypeDescription
RichEditBuilder

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

|

See Also

RichEditBuilder Class

RichEditBuilder Members

DevExpress.AspNetCore.RichEdit Namespace