Skip to main content

SpreadsheetExtension.Open(String, DocumentFormat) Method

Opens the specified document.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public SpreadsheetExtension Open(
    string filePath,
    DocumentFormat format
)

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
SpreadsheetExtension

A SpreadsheetExtension object representing the Spreadsheet extension.

Remarks

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

See Also