Information générale
Catégorie:
Contrôles ActiveX en VFP
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement