Solved

convert from pixel to mm/cm/inches

Posted on 2006-07-15
1
10,373 Views
Last Modified: 2012-08-13
Hi,

I am doing a art work design software..
is there anyway i can convert from the label location X, Y into mm/cm/inches?

wut i did was something like Vb.NET IDE, where the user can move the label around on my canvas..
and they can set the X, Y location of the label as well

how can I let them set the mm/cm/inches, rather than x y in pixel?

Thanks in advance.
0
Comment
Question by:cybeh
1 Comment
 
LVL 8

Accepted Solution

by:
Shakti109 earned 500 total points
ID: 17114740

Unfortunately there is no direct, set conversion.

This will totally depend on : The screen resolution and the size of the monitor.

As an example :
100 pixels = 3.31cm (1.23inches), when the screen resolution is set to 1024 by 768.

This changes to :
100 pixels = 4.00cm (1.58inches) when the screen resolution is set to 800 x 600.


You can convert between values, but the relative "size" of each will depend on the resolution and monitor size (most monitors do not display their full edge-to-edge size).

For a very long discussion on this, and some definitions of the terms (dots per inch, pixels per inch), see the following :

http://www.dotnetforums.net/t72094.html

0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question