Skip to content

Use the Spreadsheet API to manage spreadsheet documents in code.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/wpf-spreadsheetcontrol-api-part-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF SpreadsheetControl API - Part 1

This example demonstrates how to use the SpreadsheetControl API to manage spreadsheet documents in code, without the need for Microsoft Excel to be installed.

Double-click the action name in the Navigation Bar to run the code that illustrates the API functionality. The results are shown in the SpreadsheetControl and saved to the SavedDocument.xlsx file in the Document subfolder of the working folder.

In particular, this sample introduces API used to perform the following operations:

  • Manage worksheets (activate, create, delete, rename, copy, adjust worksheet view, etc.)
  • Manipulate rows and columns (insert, delete, copy rows and columns, adjust row height and column width, etc.)
  • Manipulate cells and cell ranges (set cell values, add hyperlinks to cells, copy and merge cells), create, edit and copy cell comments
  • Create formulas (use various functions and cell references in formulas, use names in formulas, create shared and array formulas, etc.)
  • Format cells (set cell font, colors, alignment, borders, number format, etc.)
  • Export the workbook to PDF
  • Print the workbook

Files to Review

CodeExamples (VB: CodeExamples)

More Examples

Does this example address your development requirements/objectives?

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