SHASHANGKA SHEKHAR'S BLOG

Hi, I am Shashangka Shekhar, Working with Microsoft Technologies. This is my personal blog where I share some of my experiences.

Working With Spire.Presentation

In this post we are going to quick overview on Spire.Presentation using Visual Studio. First we need to download & install it to our system.

Introduction

Spire.Presentation is a professional PowerPoint® compatible component that enables developers to create, read, write, modify, convert and Print PowerPoint documents from any .NET(C#, VB.NET, ASP.NET) platform. As an independent PowerPoint .NET component, Spire.Presentation for .NET doesn’t need Microsoft PowerPoint installed on the machine.

Spire.Presentation for .NET support PPT, PPS, PPTX and PPSX presentation formats. It provides functions such as managing text, image, shapes, tables, animations, audio and video on slides. It also support exporting presentation slides to EMF, JPG, TIFF, PDF format etc.

Child categories

  • Conversion
  • Paragraph and Text
  • Document Operation
  • Image and Shapes
  • Table
  • Chart
  • Audio and Video
  • Comment and Note
  • Hyperlink
  • Security
  • Watermark
  • SmartArt
  • Print
  • Other

Get more details from here

Let’s create a sample application in Windows Form and have a look on how it work actually.

Install it from NuGet

Search for Spire packages here. Now go to solution explorer open the form add button like below image.

DoubleClick on button and paste the below code snippet to generate a ‘hello world’ ppt result.

Add Smart Art DoubleClick on Spire.Presentation Smartart button and paste the below code snippet to generate a ‘Smart Art’ ppt result.

Get more details from here on how to create a table programmatically using Spire.Presentation for .NET

OutPut: Finally run the application, the application will generate a ppt file with output text.

Source Code: I’ve uploaded the full source code to download/clone @github, Hope this will help 🙂

Post a comment