|
-
May 12th, 2002, 05:27 PM
#13
Originally posted by ljlevend
So there you have it. If you're Resizing a PictureBox, then is seems like it is faster to set SizeMode to Normal and use a Bitmap that fills the entire PictureBox. But, if you're moving a PictureBox, then it is faster to set SizeMode to StretchImage and use a 1D Bitmap.
These speed ratios actually make some sense after a bit of thought. Of course, I suggest that you look into using the LinearGradientBrush to make a full-sized bitmap and forget about stretching a smaller one
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
|