O
O. D. Vogel
I'm using PowerPoint 2007, Vista and VSTO 2008
What I'm trying to do is following:
In PowerPoint, user can manually chose snap settings. In PowerPoint, users
would right click on the slide in normal view (slide pane) and then select
"Grid and Guides..." from the context menu. In the new dialog "Grid and
Guides" they can select one of the following
Snap to
--> Snap objects to grid
--> Snap objects to other objects
--> Grid settings
--> Spacing
Display grid on screen
--> Guide settings
--> Display drawing guides on screen
I'd like to turn on or off the following settings from my code, that is at
run time.
Snap to grid is easy:
--> Globals.My_Add_In.Application.ActivePresentation.SnapToGrid = True
Display grid on screen is easy as well:
-->
Globals.My_Add_In.Application.ActivePresentation.Application.DisplayGridLines
= True
But I can't find out how to set the other options.
Help is highly appreciated, I've already spent hours without success. A work
around is fine too!
Any suggestions?
Thanks!
What I'm trying to do is following:
In PowerPoint, user can manually chose snap settings. In PowerPoint, users
would right click on the slide in normal view (slide pane) and then select
"Grid and Guides..." from the context menu. In the new dialog "Grid and
Guides" they can select one of the following
Snap to
--> Snap objects to grid
--> Snap objects to other objects
--> Grid settings
--> Spacing
Display grid on screen
--> Guide settings
--> Display drawing guides on screen
I'd like to turn on or off the following settings from my code, that is at
run time.
Snap to grid is easy:
--> Globals.My_Add_In.Application.ActivePresentation.SnapToGrid = True
Display grid on screen is easy as well:
-->
Globals.My_Add_In.Application.ActivePresentation.Application.DisplayGridLines
= True
But I can't find out how to set the other options.
Help is highly appreciated, I've already spent hours without success. A work
around is fine too!
Any suggestions?
Thanks!