SetBkMode (gdi32)
Last changed: -212.152.161.92

.
Summary

C# Signature:

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

Constants:

const int TRANSPARENT = 1;
const int OPAQUE = 2;

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

If you are using GDI+ with a Graphics object, you don't need the use of this method anymore. If you want a transparent background just call

    g.Clear(Color.White);

Good luck and have fun (Julian Taupe)

Documentation
SetBkMode on MSDN