Page SetUp

  • Thread starter Thread starter zidansoft
  • Start date Start date
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?
 
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?

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?
 
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
 
Many many thanks...
This is what i want , aspect ratio..
Stev your syntax is absolutely correct but calculation has small
mistake..


Story of my life said:
(This is the first time i am getting valuable information from this
forum..)

Thanks Stev..thanks a lot

You're welcome.
 
Back
Top