@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The SelectClipRgn API !!!!C# Signature: [DllImport("gdi32.dll")] static extern int SelectClipRgn(IntPtr hdc, IntPtr hrgn); !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: IntPtr hdc = graphics.GetHdc(); IntPtr hRegion = CreateRectRgn(left, top, right, bottom); SelectClipRgn(hdc, hRegion); // region will be copied DeleteObject(hRegion); // ... SelectClipRgn(hdc, IntPtr.Zero); // reset clip region graphics.ReleaseHdc(hdc); !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: SelectClipRgn@msdn on MSDN
Edit gdi32.SelectClipRgn
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.