Free Support Forum - aspose.com

Problem in Slides orientation

The orientation is not working
private static IPresentation setOrientationSlides(IPresentation pres,String orient)
{
if (orient.equalsIgnoreCase(“Portrait”))
{
pres.getSlideSize().setOrientation(SlideOrienation.Portrait);
}
if (orient.equalsIgnoreCase(“Landscape”))
{
pres.getSlideSize().setOrientation(SlideOrienation.Landscape);
}

return pres;
}
the original and distorted resulting pdf is attached

Hi Hafsa,

I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-34670 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

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


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