This project has moved. For the latest updates, please go here.

How to open existing powerpoint?

Feb 25, 2014 at 10:18 PM
I also want to modify a watermark in the master slide. I prefer C#. Is this possible/
Mar 4, 2014 at 6:36 AM
yes, it's possible. take a look to the sample files
PowerPoint.Application powerPointApplication = new PowerPoint.Application();

powerPointApplication.Visible = MsoTriState.msoTrue;  
// PowerPoint 2000 doesnt support DisplayAlerts,
// we check at runtime its available and set
if (powerPointApplication.EntityIsAvailable("DisplayAlerts")) {
        powerPointApplication.DisplayAlerts = PpAlertLevel.ppAlertsNone;
 }
PowerPoint.Presentation presentation = powerPointApplication.Presentations.Open(filePath);
.....