ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / Region Class / Complement Method / Complement(Rectangle) Method
The System.Drawing.Rectangle structure to complement this Region object.

In This Topic
    Complement(Rectangle) Method
    In This Topic
    Updates this Region object to contain the portion of the specified System.Drawing.Rectangle structure that does not intersect with this Region object.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Complement( _
       ByVal rectangle As Rectangle _
    ) 
    public void Complement( 
       Rectangle rectangle
    )

    Parameters

    rectangle
    The System.Drawing.Rectangle structure to complement this Region object.
    See Also