Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Zoom (Read 1722 times)
krebsd
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 13
Joined: Dec 9th, 2005
Zoom
Mar 31st, 2006 at 5:58am
Print Post  
In the Class webchart I miss the methods ZoomToFit and ZoomToRect.
I'm searching for a possibility to print the webchart from the browser to a normal format (20x30cm)

regards, Daniel.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Zoom
Reply #1 - Mar 31st, 2006 at 7:30am
Print Post  
Hi,

You could set the ZoomFactor to

min((30 cm in fc.MeasureUnits) / fc.DocExtents.Width * 100, (20 cm in fc.MeasureUnits) / fc.DocExtents.Height * 100)

Regards,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint