Link to home
Start Free TrialLog in
Avatar of dorinda
dorinda

asked on

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.
Avatar of Mike McCracken
Mike McCracken

It is probably either in pixels or twips.

mlmcc
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.
Avatar of dorinda

ASKER

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
I see you posted a few seconds after I did.  Did you see my comments?
ASKER CERTIFIED SOLUTION
Avatar of Crash2100
Crash2100
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dorinda

ASKER

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!!