RichEditExtension.Open(String, DocumentFormat) Method

Opens the specified document.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public RichEditExtension Open(
    string filePath,
    DocumentFormat format
)
Public Function Open(
    filePath As String,
    format As DocumentFormat
) As RichEditExtension

Parameters

Name Type Description
filePath String

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

format DocumentFormat

A DocumentFormat object specifying the document format.

Returns

Type Description
RichEditExtension

A RichEditExtension object representing the RichEdit extension.

Remarks

Use the Open method to open a document located at a specific path on the server.

See Also