ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / SetClip Method / SetClip(Rectangle,CombineMode) Method
System.Drawing.Rectangle structure to combine.
Member of the System.Drawing.Drawing2D.CombineMode enumeration that specifies the combining operation to use.

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

    Parameters

    rectangle
    System.Drawing.Rectangle structure to combine.
    combineMode
    Member of the System.Drawing.Drawing2D.CombineMode enumeration that specifies the combining operation to use.
    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