Solved

convert from pixel to mm/cm/inches

Posted on 2006-07-15
1
10,741 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

624 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