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