ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / SetClip Method / SetClip(Rectangle) Method
System.Drawing.Rectangle structure that represents the new clip region.

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

    Parameters

    rectangle
    System.Drawing.Rectangle structure that represents the new clip region.
    Remarks
    Only a copy of the setting region is used. The region itself can be seted for any number of other device contexts or it can be deleted.
    See Also