locked
StretchBlt

    Question

  • We are using the “StretchBlt” API in VB 6.0 to copy 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”.

    Thursday, December 31, 2009 11:17 AM

Answers