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