ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / 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 System.IntPtr _
    ) 
    public virtual void InvertRegion( 
       System.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.
    See Also