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

In This Topic
    InvertRegion Method (RawDeviceContext)
    In This Topic
    Inverts the colors in the specified region.
    Syntax
    'Declaration
     
    
    Public Sub InvertRegion( _
       ByVal regionHandle As IntPtr _
    ) 
    public 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