[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.InvertRegion

InvertRegion Method

InvertRegion(nint)

Inverts the colors in the specified region.

Declaration
public virtual void InvertRegion(nint regionHandle)
Parameters
Type Name Description
nint regionHandle

A nint indicates the handle of the region.

Remarks

On monochrome screens, the InvertRegion function makes white pixels black and black pixels white. On color screens, this inversion is dependent on the type of technology used to generate the colors for the screen.

Exceptions
Type Condition
SystemErrorException