Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Box positioning in mm not correct (Read 1123 times)
David Long
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 136
Location: England
Joined: Oct 23rd, 2006
Box positioning in mm not correct
Oct 23rd, 2006 at 2:36pm
Print Post  
I'm trying to draw a box size 40 * 10mm at position 110, 10mm from my form's activation function using:

  GoalBox = flowChart.CreateBox(110, 10, 40, 10);

but the measured position (ruler on screen) seems to be 122, 10 and the size 45,10.  The horizontal sizes and position don't seem correct.  The control's MeasureUnit IS millimeter.  Am I doing something wrong?


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Box positioning in mm not correct
Reply #1 - Oct 23rd, 2006 at 4:49pm
Print Post  
Hi,

Do you mean you use a real ruler to measure them, or the Ruler control that comes with FlowChart.NET ?

What's on the screen might differ from the real ruler measures, depending on the system DPI setting and font size (small fonts / large fonts) selected in the display properties applet in the control panel.

We can't do much about that difference anyway. The control uses the PageUnit property of the .NET Graphics object to set up the measure units.

You might run some sort of a calibration process to let your users specify the exact size according to their display settings, and later use ZoomFactor to cater for the difference.

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