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

In This Topic
    InvertRegion Method
    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.
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also