1

How can I create a Powerpoint document with presentation format 16:9 in Aspose.Powerpoint? 4:3 seems to be default.

HischT
  • 933
  • 1
  • 9
  • 26

1 Answers1

1

You can create a PowerPoint file with presentation format 16:9 by using the code below:

        Presentation pres = new Presentation();
        pres.SlideSize.Type = SlideSizeType.OnScreen16x9;
        pres.Save(@"D:\16_9.pptx", Aspose.Slides.Export.SaveFormat.Pptx);

Hope, this helps.

I work with Aspose as Developer Evangelist.

Adnan Ahmad
  • 36
  • 1
  • 1