Q: How to convert from pixels to points in managed code?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

the powerpoint object model wants width/height in points. I'm in managed
code, and don't see any functions to convert my width/height, which is in
pixels, to points.

Help!?
 
the powerpoint object model wants width/height in points. I'm in managed
code, and don't see any functions to convert my width/height, which is in
pixels, to points.

Hi. What do you want to convert the width/height *of*? What is it that you're
measuring in pixels?

At the root of it, measurements in pixels don't have a lot of meaning in PPT in
most cases. A 100 x 100 point rectangle will be one size in a slide show on a
computer running at 1024x768, another size on a computer running at a different
display rez. The size in pixels will change depending on the size of the
display window as well.
 
Back
Top