C#: Online Guide
How To: powerpoint SDK
Quick to Start
Home ›› XDoc.PowerPoint ›› C# PowerPoint: Quick to Start

How to C#: Quick to Start Using XDoc.PowerPoint

To Have a Quick Evaluation of XDoc.PowerPoint in Visual C# Console Application

As a leading professional third-party SDK supplier in the field of image and document management, RasterEdge has always been devoted to providing various effective and fully-functional imaging solutions for developers who are working on different .NET developing applications.

Related .net document control helps:
asp.net excel view: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
powerpoint viewer asp.net mvc: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
asp.net pdf editor control: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net edit pdf text color: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
document viewer asp.net c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net edit pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#

This C#.NET PowerPoint document processing toolkit, RasterEdge XDoc.PowerPoint SDK for .NET is one of the most strongly-featured and mature document imaging library toolkits on the market, which is designed to help developers implement PowerPoint-related tasks in their C#.NET applications.

Using this C#.NET PowerPoint document processor control, you can easily and quickly complete PowerPoint document creating and loading, PowerPoint document conversion, PowerPoint document annotation and more in any type of a 32-bit or 64-bit .NET application, including ASP.NET web service and Windows Forms for any .NET Framework version from 2.0 to 4.5.

As you know, there're various reliable PowerPoint document processing features that can be implemented in C#.NET programming. And you may want to have a quick testing on RasterEdge XDoc.PowerPoint after downloading its free trial package online.  To meet your requirement, on this quick to start page, we will tell how to create a C# console application, merge two PowerPoint files, and save into a new PowerPoint file.

Create a C# Console Application

Open Visual Studio and click "New" from toolbar. Note, Visual Studio 2005 and above versions are available;

Choose "C# Language" and "Console Application" respectively to create a project.

Sample C# Code for Merging Two PowerPoint Files and Save

By following steps below, your C# project will merge the two input PowerPoint files according to priority, and then create a new PowerPoint file to a defined output path.

Add necessary XDoc.PowerPoint DLL libraries into your created C# application as references.










Use corresponding namespaces;

  using RasterEdge.Imaging.Basic;

  using RasterEdge.XDoc.PowerPoint;

Copy of the following C# sample code to your application.

String inputFilePath1 = Program.RootPath + "\\" + "1.pptx";
String inputFilePath2 = Program.RootPath + "\\" + "2.pptx";
String outputFilePath = Program.RootPath + "\\" + "Output.pptx";
String[] inputFilePaths = new String[2] { inputFilePath1, inputFilePath2 };

// Combine two PowerPoint files.
PPTXDocument.CombineDocument(inputFilePaths, outputFilePath);