ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / WindowDeviceContext Class / InvertRegion Method
A System.IntPtr indicates the handle of the region.

In This Topic
    InvertRegion Method (WindowDeviceContext)
    In This Topic
    Inverts the colors in the specified region.
    Syntax
    'Declaration
     
    
    Public Overridable Sub InvertRegion( _
       ByVal regionHandle As IntPtr _
    ) 
    public virtual void InvertRegion( 
       IntPtr regionHandle
    )

    Parameters

    regionHandle
    A System.IntPtr 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.
    See Also