PowerPoint PageSetup

P

Peter Carlson

What is the correlation between
PowerPoint::pageSetup::SlideHeight/SlideWidth and pixels that a
jpg/wmf/png is exported as and width/height in inches as set in
Powerpoint PageSetup dialog?

I have a presentation that is set for 13.33" width x 7.5" height. It
exports as a wmf as 7999x4501 and a jpg as 639x360. The GetPageSetup
returns a width of 959.75 and height of 540. I can't figure out the
correlation

Width Height
Page Setup 13.33" 7.5"
get_PageSetup 959.75 540
wmf 7999 4501
jpg 639 360

I can control the output size of the jpg/png/gif, etc by passing w/h
paramaters to the Export function, however I'd like to present to the
user an intelligent resize control that allows them to resize the final
output based upon a % slider.

Peter
 
S

Steve Rindsberg

What is the correlation between
PowerPoint::pageSetup::SlideHeight/SlideWidth and pixels that a
jpg/wmf/png is exported as and width/height in inches as set in
Powerpoint PageSetup dialog?

I have a presentation that is set for 13.33" width x 7.5" height. It
exports as a wmf as 7999x4501 and a jpg as 639x360.

WMFs are mostly vector based so any pixel count you get for them is bogus;
probably the app you're using to view the things is using 600dpi arbitrarily
and pickingup the 13.33 width.

Usually PPT saves images (JPG, PNG, BMP and the like) at some multiple of
SlideHeight; the multiple depends on version and, in the case of 2003, a
registry setting (optionally).
The GetPageSetup
returns a width of 959.75 and height of 540. I can't figure out the
correlation

Width Height
Page Setup 13.33" 7.5"
get_PageSetup 959.75 540
wmf 7999 4501
jpg 639 360

I can control the output size of the jpg/png/gif, etc by passing w/h
paramaters to the Export function, however I'd like to present to the
user an intelligent resize control that allows them to resize the final
output based upon a % slider.

I'm missing something then; what prevents this?
 

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