ComponentOne CalendarView 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.
    See Also