FileFormat.Slides 24.5.0

dotnet add package FileFormat.Slides --version 24.5.0
NuGet\Install-Package FileFormat.Slides -Version 24.5.0
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.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FileFormat.Slides --version 24.5.0
#r "nuget: FileFormat.Slides, 24.5.0"
#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.5.0

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

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

FileFormat.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

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.
  • 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 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.5.0 43 5/16/2024
24.4.0 95 4/17/2024
24.3.0 136 3/15/2024
24.2.0 124 2/20/2024
24.1.0 174 1/19/2024
23.12.1 168 1/2/2024
23.12.0 149 12/20/2023
23.11.0 155 11/24/2023