SetStretchBltMode (gdi32)
Last changed: -150.131.176.35

.
Summary
The SetStretchBltMode function sets the bitmap stretching mode in the specified device context.

C# Signature:

[DllImport("gdi32.dll")]
static extern int SetStretchBltMode(IntPtr hdc, int iStretchMode);

[DllImport("gdi32.dll")]
static extern bool SetStretchBltMode(IntPtr hdc, StretchMode iStretchMode);

User-Defined Types:

public enum StretchMode
{
     STRETCH_ANDSCANS    =1,
     STRETCH_ORSCANS     =2,
     STRETCH_DELETESCANS =3,
     STRETCH_HALFTONE    =4,
}

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please see StretchBlt

Alternative Managed API:

Do you know one? Please contribute it!

Documentation