Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Auto Size Fonts when scale flowchart (Read 1817 times)
Arzanardi
YaBB Newbies
*
Offline


C# Developer

Posts: 10
Joined: Jul 25th, 2006
Auto Size Fonts when scale flowchart
Nov 1st, 2006 at 5:26pm
Print Post  
Hello!

Auto Size Fonts when scale flowchart is possible? How?

Thanks

Anderson
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Auto Size Fonts when scale flowchart
Reply #1 - Nov 2nd, 2006 at 6:33am
Print Post  
Hi,

The font renderer ignores the flowchart's scaling transformation when you use specific font units, e.g. Point or Millimeter. In such case the text will have the same size, independent on the current ZoomFactor.

To make the font size follow the scaling transforms, use fonts whose Unit property is set to 'World' - it can be set only through the Font class constructor. When the font's unit is 'World', the font will be measured in the flowchart's MeasureUnit (Millimeter by default), and the ZoomFactor will affect the text size too.

Stoyan
  
Back to top
 
IP Logged
 
Arzanardi
YaBB Newbies
*
Offline


C# Developer

Posts: 10
Joined: Jul 25th, 2006
Re: Auto Size Fonts when scale flowchart
Reply #2 - Nov 6th, 2006 at 10:28am
Print Post  
Very Good!

Thanks for Help!

[]'s
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint