I regret to share that there is no direct orientation setting available for PPT in Aspose.Slides. However, the following code snippet may help you achieving your goal. For more details about SlideSizeType enumeration, please visit this link. Secondly, you can also compute the ratio of the slide size in terms of width and height using Presentation.SlideSize property to get to know whether the slide is Portrait or Landscape.