Skip to main content
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(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

C#
public RichEditBuilder Open(
    string filePath,
    DocumentFormat format
)

#Parameters

Name Type Description
filePath String

A string value specifying the path to the document to open.

format DocumentFormat

An object specifying the document format.

#Returns

Type Description
RichEditBuilder

A RichEditBuilder that can be used to further configure the Rich Text Editor.

#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 DocumentFormat parameter.

See Also