Add document to Presentation via OLE

What is OLE object for Presentation?

The “Object Linking and Embedding” technology helps to embed some other document in the currently editing Presentation one. For this case, the frame object is using for the embedded document content. The Word and PDF documents, Excel and Oped Document format spreadsheets and other document types can be embedded in a PowerPoint presentation as frame that is predefined with X and Y coordinates and it’s size.

Add document to Presentation via OLE

GroupDocs.Merger provides an ability to add other single document as embedded document to Presentation. 
Here are the steps for it:

The following code sample demonstrates how to add other single document as embedded document to Presentation:

int pageNumber = 2;
OlePresentationOptions oleSlidesOptions = new OlePresentationOptions("c:\embedded.pdf", pageNumber);
Merger merger = new Merger("c:\sample.ppt");

More resources

Advanced Usage Topics 

To learn more about document merging features, please refer the advanced usage section.

GitHub Examples 

You may easily run the code above and see the feature in action in our GitHub examples:

Free Online App

Along with full featured .NET library we provide simple, but powerful free Apps.
You are welcome to merge your documents with our free online GroupDocs Merger App.