-
Decimals in width/height
Just wondering if a can assign a width and height to a picturebox or image box that is a decimal?
I have tried this and then used a message box to retrieve the value but it chops off the decimal.
pic1.width = 213.234
msgbox pic1.width
any ideas or is it impossible?
thanks in advance
-
I don't think it's possible to for anything in a computer environment to be a fraction of a pixel. It will render it within the next highest pixel, and in the case of twips, I believe most computers have 15 twips per pixel for both x and y dimensions.
-
true true
Thanks MB ... kinda what i thought. Damn, working on resizing jpegs to the correct proportions relative to their original sizes and the sc4rewup when i save them is the decimal error difference
-
Well
Don not have VB here, but can you change the ScaleMode property, which may enebale you to use decimals?
-
the smallest thing the comp can show is pixels........ if you want parts of pixels then i don't see why you would...