We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to increase the Slide size

Dear Team,

How can I increase the slide size using Aspose 15.7.0 jar file.
In power point, we used to increase the size of the slide by following the below steps.

"Design -> Slide Size - > Custom Slide size -> width and height"

Can you please interpret the same in Aspose.

Regards
Prabu R

Hi Prabu R,


Thank you for posting.

I have observed your comments and like to request you to please try using below sample code on your end to serve the purpose. This code sets the slide size as 8.5*11 where each inch is equal to 72 pixels.

pres.getSlideSize().setType(SlideSizeType.Custom);
pres.getSlideSize().setSize(new Dimension((int)612, (int)792));

I hope this will be helpful. Please share if I may help you further in this regard.

Best Regards,

Hi Ahmad,

Thanks for your quick response. It’s working fine.

Regards
Prabu R