Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 332
  • Last Modified:

Measurement Question

I am using a software program that specifies a vertical position of 20.15 or 64.3  what is that a measurement of in VB? If I use a ruler it appears to me to be about 3.25 inches.
0
dorinda
Asked:
dorinda
1 Solution
 
mlmccCommented:
It is probably either in pixels or twips.

mlmcc
0
 
rspahitzCommented:
Well, there are about 25.4 mm per inch (2.54cm/in), so 3.25*25.4=82.55

There are 72 points per inch, so 3.25*72=234

There are 1440 twips per inch=4680

There are usually either 15 or 20 pixels per inch (depending on screen settings)= 48.75 or 75
Pixels can be changed based on Windows settings: Small fonts, large fonts or custom size.

--
Silly question, but are you using a real-world ruler or a computer ruler?  Are you measuring on a printed version or a computer version?

Do you have access to the app's source code?  If not, check the documentation or contact the manufacturer.
0
 
dorindaAuthor Commented:
I don't believe it to be twips because there are 1440 twips per inch.  Could someone provide the actual conversion formula of how they get 20.15
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
rspahitzCommented:
I see you posted a few seconds after I did.  Did you see my comments?
0
 
Crash2100Commented:
It could be in lines of text which are 1/6 of an inch
0
 
dorindaAuthor Commented:
Thanks experts for your comments. 20.15 does equate back to my approx. 3.25 inches and it is about 20 lines down on the page just hadn't put it together...Thanks again!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now