Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DevExpress-Examples/excel-export-library-generate-sales-report

Repository files navigation

Excel Export API - Generate a Sales Report

This example demonstrates how to use the Excel Export API to generate the "Sales Report" document shown in the image below.

Important

The Universal Subscription or an additional Office File API Subscription is required to use this example in production code. For pricing information, please refer to the DevExpress Subscription page.

image

Implementation Details

This example introduces API properties and methods used to perform the following operations:

  • Create a new workbook
  • Create and rename a worksheet
  • Create columns and rows, and adjust the column width and row height
  • Create cells and set their values
  • Format cells (set the cell font, background color, alignment, borders, number format, etc.)
  • Specify print options (define the print area, add headers and footers to a worksheet printout, adjust page settings)
  • Create groups of rows and columns and specify outline settings
  • Use formulas to calculate subtotals
  • Insert a picture into a cell

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Use the Excel Export API to generate the "Sales Report" document.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

AltStyle によって変換されたページ (->オリジナル) /