ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / ExcludeClip Method / ExcludeClip(Rectangle) Method
System.Drawing.Rectangle structure that specifies the rectangle to exclude from the clip region.

In This Topic
    ExcludeClip(Rectangle) Method
    In This Topic
    Updates the clip region of this Graphics object to exclude the area specified by a System.Drawing.Rectangle structure.
    Syntax
    'Declaration
     
    
    Public Overloads Sub ExcludeClip( _
       ByVal rectangle As Rectangle _
    ) 
    public void ExcludeClip( 
       Rectangle rectangle
    )

    Parameters

    rectangle
    System.Drawing.Rectangle structure that specifies the rectangle to exclude from the clip region.
    Remarks
    This method excludes the area specified by the rectangle parameter from the current clip region and assigns the resulting area to the Clip property of this Graphics 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