Slideshow width/heigh mismatch with window width/height

  • Thread starter Thread starter Roland
  • Start date Start date
R

Roland

Hi!

Can anyone kindly suggest a pointer on how to reduce the
height of the slide show window? - (I would like to have
another application window showing when the slides are
presented). Or is it not possible?


I have tried every which way to do this and the best I
can achieve is to write an Add-In which calls
slideshowwindow.SetHeight().


What happens with this is that the slide window is
reduced in height - but then so is the width!


Also can anyone suggest why the height that you get with
slideshowwindow.GetHeight() does not correspond to the
screen pixel height?


Thanks,
Ajay
 
Roland said:
Hi!

Can anyone kindly suggest a pointer on how to reduce the
height of the slide show window? - (I would like to have
another application window showing when the slides are
presented). Or is it not possible?

I have tried every which way to do this and the best I
can achieve is to write an Add-In which calls
slideshowwindow.SetHeight().

What happens with this is that the slide window is
reduced in height - but then so is the width!

That seems reasonable; PPT will try to keep your show size proportional so as
not to distort it. Try setting File, Page Setup to the proportions you want
first.
Also can anyone suggest why the height that you get with
slideshowwindow.GetHeight() does not correspond to the
screen pixel height?

Bugs? It seems that the .Width property reports the current screen height in
pixels when the slideshow window is full screen.
 
I guess you havn't understood the problem, When I set the width and
heigh of slideshowwindow to widht and heigh of container window that
embeds it, doesn't get fitted. Width and height of slideshow window is
more than the size of window/ I guess poewrpoint slideshow uses
different mapping mode that window.

Can you tell me is there any solution to fit /resize slideshow window
to fit to container window ?
 
Hi Ajay,

SlideShowWindow uses points as its measurement. You need to convert between
pixels and points as shown in
http://officeone.mvps.org/vba/positioning_using_pixels.html to use the
container's pixel-based dimensions with SlideShowWindow's point-based
dimensions. Although the example use of ConvertPixelsToPoints() is for
userforms, it is applicable to SlideShowWindow as well.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 
Chirag,
Thanks for ur reply. It worked well.

Do you have any idea on how to embed powerpoint into window/dialog ?
What we need to do to do so...Sample code will be appreciated.

Thanks,
Ajay
 
Back
Top