Post

 Resources 

Console


Twips to/from Pixels David Goodlad (5 replies, 0 views) (2001-Mar-24)
-
It's been awhile since I've had to use it and I don't have vb on this machine here to check, but I believe that the Screen object has a property .TwipsPerPixel, or maybe two properties .TwipsPerPixelX and .TwipsPerPixelY. Use something like this to convert: iPixels = iTwips / Screen.TwipsPerPixel iTwips = iPixels * Screen.TwipsPerPixel Simple as that :) David


-
Up One Level | Back to Forum

Better method... Almar (4 replies) (2001-Mar-25)
Um.. MetalWarrior (3 replies) (2001-Mar-26)
Native in VB dll...faster, and; Almar (2 replies) (2001-Mar-27)
I would think the other way is faster MetalWarrior (1 reply) (2001-Mar-29)
Yeah, but you forget Almar Joling (0 replies) (2001-Apr-16)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 23 visitors within the last 20 minutes
RSS News Feed