Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TWIPS?
Message
From
28/03/2000 03:32:14
 
 
To
28/03/2000 03:21:57
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Re: TWIPS?
Miscellaneous
Thread ID:
00351284
Message ID:
00351288
Views:
27
>I have been asked to use a control which references all sizes in TWIPS. The only reference I can find to a TWIP in VFP is a definition. Is there any way to convert from TWIPS to PIXELS and back again?

Edward,

You are going to have trouble doing this, as a twip is related to distance as opposed to pixels which are related to density. There is no simple conversion. Using the facts in the glossary of the help file, - a twip is 1/20 of a point etc, you might be able to come up with a formula using the textheight and textwidth methods. If you do could you pass it on.

Hope this helps

Mace
Previous
Reply
Map
View

Click here to load this message in the networking platform