> Hi!
>
[quoted text clipped - 9 lines]
> 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.
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Roland - 09 Apr 2007 13:59 GMT
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 ?
> In article <1176115425.491456.327...@e65g2000hsc.googlegroups.com>, Roland
> wrote:
[quoted text clipped - 29 lines]
> PPTools: www.pptools.com
> ================================================
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
> Hi!
>
[quoted text clipped - 16 lines]
> Thanks,
> Ajay
Roland - 09 Apr 2007 15:48 GMT
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
> HiAjay,
>
[quoted text clipped - 31 lines]
>
> - Show quoted text -