Created
May 10, 2016 12:23
-
-
Save sohail-aspose/cdfe9258f4f3439b9016a75fb909898e to your computer and use it in GitHub Desktop.
Converting a Specific Slide to PDF
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 a presentation file | |
Presentation pres = new Presentation("demo.pptx"); | |
//Setting array of slides positions | |
int[] slides = new int[] { 2, 3, 5 }; | |
//Save the presentation to PDF | |
pres.save("demo.pdf", slides, SaveFormat.Pdf); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment