ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / Clip Method
A System.Drawing.Rectangle indicates the rectangle.
A System.Drawing.Drawing2D.CombineMode indicates operation mode.

In This Topic
    Clip Method
    In This Topic
    Clips the device context by the specified rectangle and operation mode.
    Syntax
    'Declaration
     
    Public Sub Clip( _
       ByVal rectangle As System.Drawing.Rectangle, _
       ByVal clippingMode As System.Drawing.Drawing2D.CombineMode _
    ) 
    public void Clip( 
       System.Drawing.Rectangle rectangle,
       System.Drawing.Drawing2D.CombineMode clippingMode
    )

    Parameters

    rectangle
    A System.Drawing.Rectangle indicates the rectangle.
    clippingMode
    A System.Drawing.Drawing2D.CombineMode indicates operation mode.
    Remarks
    The coordinate of rectangle is base one the space page.
    See Also