![]() Path string that represents the document that you want to open. The sample code in this topic uses the Open(String, Boolean) method with a To create the class instance from the document, you call one of the TheĬontent in the document is represented in the package as XML using SpreadsheetML markup. To open and work with an Excel document, youĬreate an instance of the SpreadsheetDocument class from the document.Īfter you create the instance from the document, you can then obtainĪccess to the main workbook part that contains the worksheets. In the Open XML SDK, the SpreadsheetDocument class represents anĮxcel document package. The following assembly directives are required to compile the code in this topic. This topic shows how to use the classes in the Open XML SDK 2.5 for Office to insert a chart into a spreadsheet document programmatically.
0 Comments
Leave a Reply. |