|
-
Mar 7th, 2002, 06:46 PM
#1
Attempting to resize an image with percent...
Ok, so I made a program that resizes pictures, but I cannot figure out how to make it resize using percentages. I have the width property resizing correctly, but the height property won't resize at all...
It is setup like this:
picture1.height = (text1.text / 100) * picture1.height
picture1.width = (text1.text / 100) * picture1.width
Like I said, the width resizes, but the height that is supposed to resize is only a gray area. The picturebox resizes, but it has no picture in that area and the picture is stretched horizontally. Help?
~SirK
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
|