1. Home
  2.   Slides
  3.   Openize.Slides for .NET
Openize.Slides for .NET

Openize.Slides for .NET


Simplify presentation Creation and Customization with .NET API

Create & customize presentations easily with Openize.Slides, an Open-Source .NET API. Simplify slides generation & automation with this lightweight library.

Openize.Slides for .NET offers a simple, easy and user-friendly experience, making it the ideal choice for those looking to work with Microsoft PowerPoint presentation using an open-source API. This open-source .NET API has been thoughtfully designed to simplify the process of creating and customizing PowerPoint presentation. With this intuitive C# library, you can now easily generate and manipulate presentations with just a few lines of code.

The installation process of this lightweight solution is seamless and offers a stack of features to cater to all your presentation requirements. Openize.Slides for .NET leverage the OpenXML SDK, a technology endorsed by Microsoft. Openize.Slides for .NET serves as a convenient wrapper that simplifies the utilization of its advanced capabilities.

In consideration of developers, this open-source .NET library makes automating PowerPoint presentation creation and editing a breeze with just a few lines of code. You can enhance its capabilities using the OpenXML SDK library. Handling Openize.Slides for .NET is easy, thanks to its user-friendly design. The library comes with intelligent features like adding sheets, text, opening existing presentations in a stream, applying formatting to the entire presentation or specific text shape, adding images to presentations, and much more.

Explore our GitHub repository to contribute, suggest improvements, and enhance this Open Source API: https://github.com/fileformat-slides/Openize.Slides-for-.NET

Previous Next

Getting Started with Openize.Slides for .NET

The recommended way to install Openize.Slides for .NET is using NuGet. Please use the following command for a smooth installation.

Install Openize.Slides for .NET via NuGet

NuGet\Install-Package Openize.Slides 
You can also download it directly from GitHub.

Creating an PowerPoint presentation Programmatically

The following code snippet creates an empty PowerPoint presentation programmatically.

Create a PowerPoint presentation via .NET API

// Create an object of the Presentation class.
 Presentation presentation = Presentation.Create("presentation.pptx");

//Perform necessary operations.

// Call the Save method to save the PowerPoint file onto the disk.

Insert Text into Presentation Programmatically

The following code snippet inserts a text into presentation programmatically.

Insert a Text into Presentation via .NET API


// Create a new PowerPoint presentation at the specified file path
Presentation presentation = Presentation.Create("D:\\AsposeSampleResults\\test2.pptx");

// Create a text shape for the title and set its properties
TextShape shape = new TextShape();
shape.Text = "Title: Here is my first title From FF";
shape.TextColor = "980078";
shape.FontFamily = "Baguet Script";

// Create the slide and add the text shape to it
Slide slide = new Slide();

// Append the slide to the presentation

// Save the modified presentation