ASPxRichEdit.Open(String, DocumentFormat) Method
In This Article
Opens a document in the specified format from a file system.
Namespace: DevExpress.Web.ASPxRichEdit
Assembly: DevExpress.Web.ASPxRichEdit.v24.2.dll
NuGet Package: DevExpress.Web.Office
#Declaration
public void Open(
string pathToDocument,
DocumentFormat format
)
#Parameters
Name | Type | Description |
---|---|---|
path |
String | The path to a document to open. |
format | Document |
The document format. |
#Remarks
Call this Open method to open a document from the server’s file system. When you open a document for the first time, the control loads it to the server’s memory and generates a DocumentId from the pathToDocument parameter value.
If the document is already open, the method activates the document stored in the server’s memory.
See Also