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

In This Topic
    SetClip(Region,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 specified Region object.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetClip( _
       ByVal region As Region, _
       ByVal combineMode As CombineMode _
    ) 
    public void SetClip( 
       Region region,
       CombineMode combineMode
    )

    Parameters

    region
    Region object 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