We are using the “StretchBlt” API in VB 6.0tocopy a bitmap from one picture box and stretches or compresses it and paste it in another picture box. We are searching for a .Net quivalent for the same since we 've migrated it to Vb.Net.
The .NET equivalent seems to be “System.Drawing.Graphics.DrawImage” but it’s not giving me the exact result as that of StretchBlt.
Is there a way to use this API and get the same result as that given by “StretchBlt”.
Please remember to mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.