Link to home
Start Free TrialLog in
Avatar of mtriviso
mtriviso

asked on

Pixels not Twips?

Is there a way that I can stop using twips and start using pixels?

I want to start a new project and want to be able to type the width, height, and x,y coordinates in pixels instead of twips.

When I enter width = 320 and height =  240 into the property fields for an object, I want the object to be 320 pixels by 240 pixels. I am sick of twips.
ASKER CERTIFIED SOLUTION
Avatar of VBGuru
VBGuru
Flag of India 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 BeedleGuis
BeedleGuis

A twip is a device-independant unit of measurement where as the size of a pixel may change depending upon the resolution of the end-users computer, which is why VB uses only twip's for design time unit of measurment.  Your only other options for using pixels is the TwipsperpixelX and twipsperpixelY properties of the screen object.