vsto - How to programmatically control Slide Orientation change in PowerPoint 2016 -


i have code changes orientation of powerpoint slide:

presentation.pagesetup.slideorientation = msoorientation.msoorientationhorizontal 

when manually changing slide orientation, dialog pops allowing user select "maximize" or "ensure fit".

what chosen affects whether text font size shrinks or enlarges.

how can programmatically choose maximize or ensure fit when changing slide orientation?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -