Powerpoint : need code that will return the current portion of slide being displayed

J

jm.almeras

Hello ppt-vba / windows api experts
I work with Powerpoint 2003
The VBA object model provides a way for finding the current zoom factor :
ActiveWindow.View.Zoom
But there is nothing that returns what portion of the slide is currently
being displayed (with a big zoom factor, one might be working in the top
left corner, the bottom right ...)
Ideally i need to find the slide coordinates of the 4 corners of the current
window.
This, of course, depends on different display options, whether the rulers
are being displayed, presence of the slides navigator (column on the left),
etc.
I suppose with Windows API it must be possible.
If anyone can help, or ideally provide a piece of code, i would be very
grateful
Thank you
Jean-Marie

PS Obviously, my problem is not in slideshow mode, where the slide is
entirely displayed. My request is for a macro which i will use in static
mode, when designing ppt slides
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top