RichEditBuilder.Open(String, DocumentFormat) Method
Opens a document by the specified path.
Namespace: DevExpress.AspNetCore.RichEdit
Assembly: DevExpress.AspNetCore.RichEdit.v24.2.dll
NuGet Package: DevExpress.AspNetCore.RichEdit
#Declaration
public RichEditBuilder Open(
string filePath,
DocumentFormat format
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A string value specifying the path to the document to open. |
format | Document |
An object specifying the document format. |
#Returns
Type | Description |
---|---|
Rich |
A Rich |
#Remarks
Note
This overload determines a document’s format automatically, but this process reduces the method’s performance. You can accelerate the method’s performance by specifying a document’s format manually using the overload with the Document