Read the complete article to convert PowerPoint PPT files to PPTX in Java: https://blog.aspose.com/2021/06/26/convert-ppt-to-pptx-using-java/
Last active
July 26, 2021 15:45
-
-
Save aspose-com-gists/bb28ea9880c3047ff4e8e5220477c3e2 to your computer and use it in GitHub Desktop.
Convert PowerPoint PPT to PPTX in Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Instantiate a Presentation object that represents the PPT file | |
Presentation pres = new Presentation("sample.ppt"); | |
try { | |
// Save the PPT presentation as PPTX | |
pres.save("convetred.pptx", SaveFormat.Pptx); | |
} finally { | |
if (pres != null) pres.dispose(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment