Method ExcludeClipRect
ExcludeClipRect(IntPtr, int, int, int, int)
The ExcludeClipRect function creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
public static int ExcludeClipRect(IntPtr hdc, int l, int t, int r, int b)
Parameters
hdc
IntPtrIdentifies the device context.
l
intSpecifies the logical x-coordinate of the upper-left corner of the rectangle.
t
intSpecifies the logical y-coordinate of the upper-left corner of the rectangle.
r
intSpecifies the logical x-coordinate of the lower-right corner of the rectangle.
b
intSpecifies the logical y-coordinate of the lower-right corner of the rectangle.
Returns
- int
Specifies type of new clipping region.