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
public RichEditBuilder Open(
Func<Stream> contentAccessorByStream,
DocumentFormat format,
string documentName = null
)
#Parameters
Name | Type | Description |
---|---|---|
content |
Func<Stream> | A method delegate that gets a stream from which to open the document. |
format | Document |
An object that specifies the document format. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
document |
String | null | The name of the file to open. Also serves as an exported file name. |
#Returns
Type | Description |
---|---|
Rich |
A Rich |