Free Support Forum - aspose.com

Slide Orientation

Can the orientation (landscape vs. portrait) be set on a slide? (i.e. PowerPoint -> File -> Page Setup -> Orientation :: Slides). If so, how?

In theory you can use Presentation.SlideSize property but in most cases result will be far from perfect
because size of background image and positions of all shapes are not changed.
I’d offer another simple way. You can create template presentation in MS PowerPoint
with right slide orientation and clone these slides to your target ppt file.

I've almost the same problem.

I'm creating a powerpoint using a template.ptt and then I edit some shapes with images, logos and text. I need to save the modified template in a second powerpoint file (this point is ok) but in a PDF file too.

My powerpoint uses normal orientation (!= landscape) but when I call the myPresentation.SaveToPdf() method, the pdf uses landscape orientation and my slides are cropped. I searched a lot without finding anything. I search for parameter in the savetopdf method, or something to do in my powerpoint file but no solution

Do you have any clue to help me?

thank you in advance