ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / IntersectClip Method / IntersectClip(Rectangle) Method
System.Drawing.Rectangle structure to intersect with the current clip region.

In This Topic
    IntersectClip(Rectangle) Method
    In This Topic
    Updates the clip region of this Graphics object to the intersection of the current clip region and the specified System.Drawing.Rectangle structure.
    Syntax
    'Declaration
     
    
    Public Overloads Sub IntersectClip( _
       ByVal rectangle As Rectangle _
    ) 
    public void IntersectClip( 
       Rectangle rectangle
    )

    Parameters

    rectangle
    System.Drawing.Rectangle structure to intersect with the current clip region.
    Remarks
    This method assigns to the Clip property of this Graphics object the area represented by the intersection of the current clip region and the rectangle specified by the rectangle parameter.
    See Also