FileFormat.Slides 24.8.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package FileFormat.Slides --version 24.8.3                
NuGet\Install-Package FileFormat.Slides -Version 24.8.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FileFormat.Slides" Version="24.8.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FileFormat.Slides --version 24.8.3                
#r "nuget: FileFormat.Slides, 24.8.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FileFormat.Slides as a Cake Addin
#addin nuget:?package=FileFormat.Slides&version=24.8.3

// Install FileFormat.Slides as a Cake Tool
#tool nuget:?package=FileFormat.Slides&version=24.8.3                

FileFormat.Slides for .NET | Free C# PowerPoint API

FileFormat.Slides for .NET - An open-source SDK for creating, loading, and modifying MS PowerPoint presentations. With this SDK, you can easily write your own C# code to insert, update, remove or append any elements including shapes, images and tables into the slides of Microsoft Powerpoint presentations.

Contents

.NET PowerPoint API for Presentation Manipulation

FileFormat.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 FileFormat.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 FileFormat.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.
  • 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FileFormat.Slides:

Package Downloads
FileFormat.Slides.Examples

Explore a collection of concise C# examples and Gists showcasing efficient ways to manipulate PowerPoint (PPT/PPTX) presentations using the FileFormat.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.

Version Downloads Last updated
24.10.1 121 10/22/2024
24.10.0 258 10/17/2024
24.9.0 143 9/19/2024
24.8.3 155 8/23/2024
24.8.2 113 8/23/2024
24.8.1 128 8/23/2024
24.8.0 137 8/21/2024
24.7.1 129 7/18/2024
24.7.0 146 7/11/2024
24.5.0 144 5/16/2024
24.4.0 136 4/17/2024
24.3.0 178 3/15/2024
24.2.0 177 2/20/2024
24.1.0 214 1/19/2024
23.12.1 216 1/2/2024
23.12.0 197 12/20/2023
23.11.0 180 11/24/2023