C# PowerPoint - Merge PowerPoint Documents in C#.NET
Provide C# Demo Codes for Merging and Appending PowerPoint Document
Overview
RasterEdge C#.NET PowerPoint document merging toolkit (XDoc.PowerPoint) is designed to help .NET developers combine PowerPoint document files created by different users to one PowerPoint file.
read barcode scanner c#,
add image to pdf itextsharp vb.net,
mvc display pdf in view,
byte array to pdf in c#,
create pdf report from database in asp.net using vb.net,
c# pdfsharp fill pdf form.
Thus, C#.NET PowerPoint document merge library control can be counted as an efficient .NET doc solution for keeping PowerPoint document files organized.
Related .net document control helps:
asp.net excel web viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
sharepoint document viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
asp.net pdf page:
ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net word document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
This C# .NET PowerPoint document merging control is written in managed C# code and compatible with all .NET developing platforms, like ASP.NET web application and Windows Forms project. Using this PowerPoint document concatenating library SDK, C# developers can easily merge and append one PowerPoint document to another PowerPoint document file, and choose to create a new PowerPoint file in .NET class application.
add image to pdf itextsharp vb.net,
c# rotate pdf pages,
c# convert tiff to pdf free library,
vb.net pdf create thumbnail background color,
vb.net search pdf for text,
c# convert txt to pdf,
vb.net convert tiff to pdf.
Besides C#.NET PowerPoint document merging function, XDoc.PowerPoint, a professional third-party .NET document imaging toolkit, also offers other advanced PowerPoint document page processing and manipulating functions, such as PowerPoint page insertion, PowerPoint page deleting, PowerPoint document splitting, PowerPoint page reordering and PowerPoint page image and text extraction.
asp.net excel viewer,
how to add header and footer in pdf using itextsharp in asp.net,
asp.net pdf editor control,
best pdf preview in asp net c#,
how to show pdf file in asp.net c#,
c# mvc website pdf file in stored in byte array display in browser,
asp.net image thumbnail viewer.
Remarkably, all those C#.NET PowerPoint document page processing functions can be implemented independently, without using any Adobe-related software.
Our .NET PowerPoint SDK empowers C# programmers to easily merge and append PowerPoint files with mature APIs. To be more specific, two or more input PowerPoint documents can be merged and appended together according to its loading sequence, and then saved and output as a single PowerPoint with user-defined location.
C# DLLs: Merge PowerPoint Files
Add necessary XDoc.PowerPoint DLL libraries into your created C# application as references.
RasterEdge.Imaging.Basic.dll
RasterEdge.XDoc.Office.Inner.Common.dll
RasterEdge.Imaging.Drawing.dll
RasterEdge.Imaging.Processing.dll
RasterEdge.XDoc.Office.Inner.Office03.dll
RasterEdge.Imaging.Font.dll
RasterEdge.XDoc.PowerPoint.dll
RasterEdge.XImage.Raster.Core.dll
RasterEdge.XImage.Raster.dll
Use corresponding namespaces;
using RasterEdge.Imaging.Basic;
using RasterEdge.XDoc.PowerPoint;
Combine and Merge Multiple PowerPoint Files into One Using C#
This part illustrates how to combine three PowerPoint files into a new file in C# application. You may also combine more PowerPoint documents together.
String inputFilePath1 = Program.RootPath + "\\" + "1.pptx";
String inputFilePath2 = Program.RootPath + "\\" + "2.pptx";
String inputFilePath3 = Program.RootPath + "\\" + "3.pptx";
String outputFilePath = Program.RootPath + "\\" + "Output.pptx";
String[] inputFilePaths = new String[3] { inputFilePath1, inputFilePath2, inputFilePath3 };
// Combine three PowerPoint files and output.
PPTXDocument.CombineDocument(inputFilePaths, outputFilePath);
|
Append PowerPoint Document in C#
In addition, C# users can append a PowerPoint file to the end of a current PowerPoint document and combine to a single PowerPoint file.
// get PPTXDocument object from one file
String inputFilePath1 = Program.RootPath + "\\" + "1.pptx";
PPTXDocument doc1 = new PPTXDocument(inputFilePath1);
// get XLSXDocument object from another file
String inputFilePath2 = Program.RootPath + "\\" + "2.pptx";
PPTXDocument doc2 = new PPTXDocument(inputFilePath2);
// append the 2nd document
doc1.AppendDocument(doc2);
// save the document
String outputFilePath = Program.RootPath + "\\" + "Output.pptx";
doc1.Save(outputFilePath);
|