VBA Shape geometry.

G

Guest

I've been tackling the problem of PowerPoint resizing (distorting) when you
change the page size. got a problem though.

Spent the last 2 days with my head (whilst operating a gig!) in trig working
out how to scale rotated shapes relative to the page horizontal axis. i.e.
mimic'ing what PP2003 does on a resize. Scalewidth and scaleheight don't do
it.
For example a rotated square becomes a squashed rotated oblong with angles
not 90deg.

Anyone want more info, I can send my notes. Only solution I can see in PP
is to transfer the object into a new presentation - resize the page then copy
the object out again. Not very efficient.

cheers, Kyle
 
B

Bill Dilworth

Effective is always efficient.

The transferring method gives proportion priority over placement.
PowerPoint by default does the opposite. I do not speak for them, but I
believe their logic is that if everything fit on the slide before you
changed the size, it should fit after. Neither way is always right. If PPT
did it the other way, people would be complaining that stuff falls off the
edges of the slide when it is re-sized.

Good luck with the app.


--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 

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