Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

DevExpress-Examples/obsolete-spreadsheet-document-api-export-worksheet-with-embedded-charts-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spreadsheet Document API - Export a Worksheet with Embedded Charts to PDF

To export a worksheet to PDF, use the Workbook.ExportToPdf method.

However, to export embedded charts, it is necessary to register the following services:

  • DevExpress.XtraSpreadsheet.Services.Implementation.ChartControllerFactoryService
  • DevExpress.XtraSpreadsheet.Services.Implementation.ChartImageService

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

Starting with v18.1, you don't need to register chart rendering services manually when you print and export documents containing charts to PDF. The WinForms version of these services is registered automatically when you create a workbook instance.

Files to Review

Does this example address your development requirements/objectives?

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

About

Use the Spreadsheet Document API to export a worksheet with embedded charts to PDF.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •