Solved

convert from pixel to mm/cm/inches

Posted on 2006-07-15
1
10,269 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

932 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now