VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Pixels to Twips

Math/Dates   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

This converts pixels to twips

Inputs
# of Pixels or twips

Assumes
This converts pixels to twips, if you get the rect of a window it's in pixels, to make your form that size you need to convert the pixels to twips. As someone pointed out in one of my other submisions, it might be a little faster to take away the function and just use the insides where needed but i find the function saves some typing and makes the code easier to read.

Returns
# of pixels or twips... see code

Rate Pixels to Twips (3(3 Vote))
Pixels to Twips.bas

Pixels to Twips Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters