Back to Devexpress

SpreadsheetExtension.Open(String, DocumentFormat) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-spreadsheetextension-dot-open-x28-system-dot-string-devexpress-dot-spreadsheet-dot-documentformat-x29.md

latest1.7 KB
Original Source

SpreadsheetExtension.Open(String, DocumentFormat) Method

Opens the specified document.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public SpreadsheetExtension Open(
    string filePath,
    DocumentFormat format
)
vb
Public Function Open(
    filePath As String,
    format As DocumentFormat
) As SpreadsheetExtension

Parameters

NameTypeDescription
filePathString

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

| | format | DocumentFormat |

A DocumentFormat object specifying the document format.

|

Returns

TypeDescription
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

SpreadsheetExtension Class

SpreadsheetExtension Members

DevExpress.Web.Mvc Namespace