Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

ExcelApplication is not available in ExcelWriterSE.

Introduction to ExcelApplication

...

ExcelApplication is the main class for pure code-based workbook generation. This class is an engine used to open, create, and write (save or stream to a browser) workbooks. A single instance of ExcelApplication can generate multiple Excel workbooks.

...

The 'SharePointIntegration' Object

Note

SharePointIntegration is not available in ExcelWriterSE.

SharePointIntegration is a class of extension methods that allow you to more easily use ExcelWriter from within SharePoint, with support for opening and saving from SharePoint List attachments and Document Libraries as well as data binding with SharePoint Objects.

Comparison

ExcelTemplate provides an intuitive high-performance way to import database values to a spreadsheet, but cannot otherwise modify a spreadsheet at runtime. ExcelApplication's rich object model allows you to modify every aspect of the spreadsheet at runtime. You can take advantage of the features of both ExcelApplication and ExcelTemplate by using them together. For example, you can use ExcelTemplate to open and populate an ExcelWriter template, then pass the populated workbook to ExcelApplication and add a chart. Or, you could generate a template spreadsheet with ExcelApplication and pass the spreadsheet to ExcelTemplate to be populated.