Skip to main content

SpreadsheetExtension.GetCurrentDocument(String) Method

Gets access to a workbook loaded into the specified Spreadsheet.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static IWorkbook GetCurrentDocument(
    string extensionName
)

Parameters

Name Type Description
extensionName String

A string value specifying the Spreadsheet name.

Returns

Type Description
IWorkbook

A IWorkbook interface specifying a document loaded in the Spreadsheet.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetCurrentDocument(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also