|
-
Oct 18th, 2002, 03:38 PM
#1
Thread Starter
Addicted Member
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
-
Oct 18th, 2002, 03:41 PM
#2
PowerPoster
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.
-
Oct 18th, 2002, 03:48 PM
#3
Thread Starter
Addicted Member
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
-
Oct 18th, 2002, 04:01 PM
#4
PowerPoster
Well
Don not have VB here, but can you change the ScaleMode property, which may enebale you to use decimals?
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Oct 18th, 2002, 06:56 PM
#5
The picture isn't missing
the smallest thing the comp can show is pixels........ if you want parts of pixels then i don't see why you would...
Remember, if someone's post was not helpful, you can always rate their post negatively  .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|