powerpoint automation RRS feed

  • Question

  • Is there a way to create a powerpoint on the fly via a web app built in C#? Not only create the slide, but populate it with data as well from legends, colors, etc.? 
    • Moved by CoolDadTx Friday, October 12, 2018 1:42 PM Office related
    Thursday, October 11, 2018 7:28 PM

All replies

  • You can download the OpenXML library and the OpenXML SDK from Microsoft. This will let you create a pptx on the fly. You can even save it to a Stream instead of a file, and you can use for this purpose the Response Stream in ASP.NET, so your website can serve the powerpoints dynamically without even having to write them to disk. The library will let you do virtually anything with the pptx (data, legends, colors, etc). Be aware, however, that the learning curve is quite steep.

    There are many articles on the topic, for example:

    Thursday, October 11, 2018 7:58 PM
  • You can use the Sprie.Presentation for .Net to create the power point deck. It is a standalone library to create the power point decks. Please refer to the below links for downloading the library and sample code.


    If this answers your question, please mark it as answered.

    Thursday, October 11, 2018 8:07 PM
  • I'm not sure if these will work 100% since the powerpoint has be to be created from a web app when the user clicks an export button on the page
    Thursday, October 11, 2018 10:17 PM