Page SetUp

Z

zidansoft

Is there any common ratio for page settings to get full screen Slide
show?through automation to get full screen slide show i am doing like
this
if(width==800&&height==600)//Screen resolution
{
setUp.put_SlideWidth(720);//page setup
setUp.put_SlideHeight(540);
}
else if(width==1280&&height==1024)

{


setUp.put_SlideWidth(720);
setUp.put_SlideHeight(576);
}
else if(width==1280&&height==768)
{
setUp.put_SlideWidth(720);
setUp.put_SlideHeight(432);
}
Any other way to get full screen slide show?
 
Z

zidansoft

As long as the PPT slide setup aspect ratio matches the screen's aspect ratio,
you should get full screen slideshows.

Rather than try to hardcode for all possible screen ratios, why not just work
the ratio:

ScreenWidth/ScreenHeight = SlideWidth/SlideHeight

You know the first two variables, it seems, and you could default SlideWidth to
720, so:

setUp.put_SlideWidth(720);
setUp.put_SlideHeight((ScreenHeight * SlideWidth)/ 720);

(syntax might not be right but you get the idea, no?

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================

Many many thanks...
This is what i want , aspect ratio..
Stev your syntax is absolutely correct but calculation has small
mistake..

(This is the first time i am getting valuable information from this
forum..)

Thanks Stev..thanks a lot
 

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