| Aspose.Slides for .NET now facilitates the developers to access the OpenDocument Presentations (ODP) using PresentationEx class in read only mode. However, you can save the presentation in PPTX format. |
Accessing PPT Presentation
Aspose.Slides for .NET offers PresentationEx class that represents a PPTX presentation file. PresentationEx class can now also access ODP through PresentationEx constructor when the object is instantiated.
Converting ODP Presentation to PPTX Presentation
The following example shows how to convert a PPT presentation into PPTX Presentation.
Example
[C#]
//Instantiate a PresentationEx object that represents a PPTX file PresentationEx pres = new PresentationEx("D:\\Source.odp"); //Saving the PPTX presentation to PPTX format pres.Write("D:\\Aspose.pptx”);
[Visual Basic]
'Instantiate a PresentationEx object that represents a PPTX file
Dim pres As PresentationEx = New PresentationEx("D:\\ Source.odp")
'Saving the presentation to PPTX format
pres.Write("D:\\Aspose.pptx”)
