Access OpenDocument Presentation

Aspose.Slides for .NET offers Presentation class that represents a presentation file.Presentation class can now also access ODP through Presentation constructor when the object is instantiated.

Example


 string FilePath = @"..\..\..\Sample Files\";

string srcFileName = FilePath + "OpenDocument Presentation.odp";

string destFileName = FilePath + "OpenDocument Presentation.pptx";

//Instantiate a Presentation object that represents a presentation file

using (Presentation pres = new Presentation(srcFileName))

{

    //Saving the PPTX presentation to PPTX format

    pres.Save(destFileName, SaveFormat.Pptx);

}

Download Sample Code

Download Running Example