How to force a presentation to Landscape or Portrait

Hi,

I have a requirement to over-ride the default slide orientation when converting to pdf. I have tried
presentation.getSlideSize().setOrientation(SlideOrienation.Portrait);
which does change the page orientation, but the slide is stretched on the Notes output and off the side of the page for the Slides output.

How do you simply have it place the slide on the page in the other orientation?

Attached is a sample with the generated pdf's pages converted to a single image for each output type of Slides and Notes. One shows how it renders normally when we don't force the orientation and the other names xxx_portrait.png is when we set Portrait.

Regards
Nick
Hi Nicholas,

I have worked with the presentation file using Aspose.Slides for JAVA 16.10.0 and have been able to reproduce the issue. A ticket with ID SLIDESJAVA-35736 has been created in our issue tracking system to investigate and resolve the issue. This thread has been associated with the ticket so that we may share the notification with you once issue will be fixed.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-35736) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.