ComponentOne MultiSelect 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.
    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