Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Image ratio on chart (Read 1224 times)
pelion
Junior Member
**
Offline



Posts: 61
Joined: Nov 12th, 2006
Image ratio on chart
May 6th, 2008 at 3:54am
Print Post  
What is the ratio of image width to chart size?

In other words, if I have a 32 x 32 image, what is the optimal size on the chart?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Image ratio on chart
Reply #1 - May 6th, 2008 at 8:11am
Print Post  
Flowchart.NET honors the DPI attribute of images. If you load a 96x96 image whose DPI value is 96, Flowchart.NET should display it so that the image occupies exactly one inch on the screen, even if that's not 96x96 screen pixels.

The image size should correspond to the pixels it occupies on the screen only if the image's DPI is the same as the screen resolution. If you want to ensure that for an image, call the Bitmap.SetResolution method to set the image's resolution to that of the user's display.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint