The Syncfusion .NET PowerPoint Library allows you to create, modify, and remove shapes in PowerPoint presentations using C# without Microsoft PowerPoint or interop dependencies.
Here is an example of how to add a shape in a presentation in C# using the Syncfusion .NET PowerPoint Library.
//Create an instance for the presentation.
using IPresentation pptxDoc = Presentation.Create();
//Add a blank slide to presentation.
ISlide slide = pptxDoc.Slides.Add(SlideLayoutType.Blank);
//Add cube shape to slide.
slide.Shapes.AddShape(AutoShapeType.Cube, 50, 200, 200, 200);
//Save the presentation.
using FileStream outputStream = new FileStream("Sample.pptx", FileMode.Create, FileAccess.ReadWrite);
pptxDoc.Save(outputStream);
Format the PowerPoint shapes programmatically, including adjusting the fill, modifying the line formats, and more.
Create, format, and remove group shapes in PowerPoint presentations.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.