XDoc.PowerPoint
Features
Tech Specs
How-to C#
Pricing

C# PowerPoint Library
Insert Image to PowerPoint File Page in C#.NET


Insert Image to PowerPoint Document Page in C# Project



RasterEdge XDoc.PowerPoint Library provide some methods for developers to insert image to PowerPoint file pages. While, if you want to insert various type image, you may need add the reference RasterEdge.XImage.Raster.dll into your project. If not, you can only add bitmap to the PowerPoint document page(s).


How to add image to Microsoft Office PowerPoint document using C#?

  1. Download XDoc.PowerPoint C# PPTX document library
  2. Install C# PPTX library to add, insert images to Microsoft PowerPoint file in .NET applications
  3. Step by Step Tutorial












Add Image to PowerPoint File Page Using C#

Add image to PowerPoint file page using C#.

PPTXDocument doc = new PPTXDocument(@"C:\1.pptx");
BasePage page = doc.GetPage(0);
REImage image = new REImage(@"C:\logo2.jpg");
page.AddImage(image, new Point(100, 100));
doc.Save(@"C:\1image.pptx");