Openize.Slides
24.6.0
Openize.Slides Nuget package has been discontinued. Please use FileFormat.Slides Nuget package instead.
dotnet add package Openize.Slides --version 24.6.0
NuGet\Install-Package Openize.Slides -Version 24.6.0
<PackageReference Include="Openize.Slides" Version="24.6.0" />
paket add Openize.Slides --version 24.6.0
#r "nuget: Openize.Slides, 24.6.0"
// Install Openize.Slides as a Cake Addin #addin nuget:?package=Openize.Slides&version=24.6.0 // Install Openize.Slides as a Cake Tool #tool nuget:?package=Openize.Slides&version=24.6.0
Openize.Slides for .NET | Free C# PowerPoint API
Openize.Slides for .NET - An open-source library offered by openize.com that can help beginners create, open, and edit PowerPoint files.
Contents
.NET PowerPoint API for Presentation Manipulation
Openize.Slides is a freely available .NET library crafted for MS PowerPoint presentation manipulation and management. Whether you're a novice or an expert, this API is straightforward to set up and utilize. Its strength lies in the powerful OpenXML engine, which serves as the backbone of Openize.Slides. By incorporating this C# library, you can easily generate and control PowerPoint files programmatically. Once integrated, you won't require any additional third-party tools to automate the creation or modification of PowerPoint presentations.
System Requirements
- .NET Core 3.1 and above
Quick Start
Install-Package Openize.Slides
// Open a presentation
Presentation presentation = Presentation.Open("sample.pptx");
// Get 1st slides
Slide slide = presentation.GetSlides()[0];
// Get text shape count
var shapeCount = slide.TextShapes.Count;
How to?
Create Presentation:
// Create instance of presentation
Presentation presentation = Presentation.Create("sample.pptx");
//Create instances of text shapes and set their texts.
TextShape shape = new TextShape();
shape.Text = "Title: Here is my first title From FF";
TextShape shape2 = new TextShape();
shape2.Text = "Body : Here is my first title From FF";
// Set yAxis of 2nd text shape
shape2.Y = 25.9;
// Create slide
Slide slide = new Slide();
// Add text shapes.
slide.AddTextShapes(shape);
slide.AddTextShapes(shape2);
// Adding slides
presentation.AppendSlide(slide);
// Save presentation
presentation.Save();
Find More
More Samples: Check out the examples for sample code snippets to begin with.
Usage:
- Explore the documentation.
- Read out API References to get In-depth information about available classes and methods.
- Openize offers you to find comprehensive blog posts on commonly trending PowerPoint presentation manipulation topics
Contribution: If you find issues or have improvements, feel free to open a GitHub issue or submit a pull request. License: This project is licensed under the MIT License - see the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- DocumentFormat.OpenXml (>= 2.20.0)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Openize.Slides:
Package | Downloads |
---|---|
Openize.Slides.Examples
Explore a collection of concise C# examples and Gists showcasing efficient ways to manipulate PowerPoint (PPT/PPTX) presentations using the Openize.Slides C# API. Simplify document processing tasks with these practical code snippets for enhanced PowerPoint presentations handling. |
GitHub repositories
This package is not used by any popular GitHub repositories.