Hi!
What's the equivalent method in .NET of the Picture1.Scale (0,0)-(10,10) method in 6.0?
Thanks in advance.
Printable View
Hi!
What's the equivalent method in .NET of the Picture1.Scale (0,0)-(10,10) method in 6.0?
Thanks in advance.
Any help guys?
2 mins of googling told me that there is no scaling of a Bitmap.
Apparently the way to go is to create a Bitmap of the size you need to scale to, create a graphics object on this scaled bitmap and then use DrawImage to draw a scaled version of the first bitmap into the second.
Let me google that for you.
Or you can use a PictureBox with the sizemode set to StretchImage thus allowing the current size of the PictureBox to determine the scaling.