Table of Contents

Method ExcludeClipRect

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

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 IntPtr

Identifies the device context.

l int

Specifies the logical x-coordinate of the upper-left corner of the rectangle.

t int

Specifies the logical y-coordinate of the upper-left corner of the rectangle.

r int

Specifies the logical x-coordinate of the lower-right corner of the rectangle.

b int

Specifies the logical y-coordinate of the lower-right corner of the rectangle.

Returns

int

Specifies type of new clipping region.