We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to read a PowerPoint file in C#, VB.NET

Platform: WinForms |
Control: Presentation |
Published Date: August 16, 2018 |
Last Revised Date: November 27, 2018

Syncfusion Essential Presentation is a .NET PowerPoint library used to create, open, read, edit, and convert PowerPoint presentations. The library supports reading PowerPoint presentations in C# and VB.NET from a file path or a stream. This functionality is exposed through the Presentation.Open static method overloads.


Steps to read PowerPoint programmatically:

  1. Create a new C# console application.


  1. Install Syncfusion.Presentation.Base NuGet package to the console application project from nuget.org. For more information about adding a NuGet feed in Visual Studio and installing NuGet packages, refer to documentation



  1. Include the following namespace in the Program.cs file.



Read a PowerPoint file from stream

The following example demonstrates how to read a PowerPoint file from a stream and save it to a physical file path.




Read the PowerPoint file from file path

The following example demonstrates how to read a PowerPoint file from a file path and save it to a stream.




The following example demonstrates how to read a PowerPoint presentation from a file path, iterate over all shapes in the slides and print the text in console output.




You can download the working sample from Read-PowerPoint-File.Zip.

Take a moment to peruse the documentation with code examples.

Refer here to explore the rich set of Syncfusion Essential Presentation features.


Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to link to learn about generating and registering Syncfusion license key in your application to use the components without trail message.

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile