how to split a *.pptx file into multiple slide in visual studio 2013 by the help of C#? -


I am able to split a file when using the extension ".ppt" to Microsoft.office.interop

Text "itemprop =" text ">

You * .pptx file can be converted to * .ppt file before splitting it into * .ppt file.

Some sample code for your reference:

  System Using; System.Collections.Generic; using System.Text; using PowerPoint = Microsoft.Office.Interop.PowerPoint; using Microsoft.Office.Core; Maspace pptxTOppt {class program {static zero main (string [] args) {PowerPoint.Application app = New PowerPoint.Application (); String source Pptx = @ "c: \ test.pptx"; String Target Ppt = @ "c: \ Test.ppt "; Object Missing = Type.Missing; PowerPoint.Presentation pptx = app.Presentations.Open (sourcePptx, MsoTriState.MsoTrue, MsoTriState.MsoTrue, MsoTriState.msoTrue); Pptx.SaveAs (targetPpt, PowerPoint.PpSaveAsFileType.ppSaveAsPowerPoint4 ); App.Quit (); }}}  

Referred to the link given below:


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -