ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / SetClippingRegion Method
A System.IntPtr that indicates handle to the region to be selected. This handle can only be IntPtr.Zero when the CombineMode.Replace mode is specified
A System.Drawing.Drawing2D.CombineMode that indicates the combine mode.

In This Topic
    SetClippingRegion Method
    In This Topic
    Combines the specified region with the current clipping region using the specified mode.
    Syntax
    'Declaration
     
    Public Sub SetClippingRegion( _
       ByVal regionHandle As System.IntPtr, _
       ByVal combineMode As System.Drawing.Drawing2D.CombineMode _
    ) 
    public void SetClippingRegion( 
       System.IntPtr regionHandle,
       System.Drawing.Drawing2D.CombineMode combineMode
    )

    Parameters

    regionHandle
    A System.IntPtr that indicates handle to the region to be selected. This handle can only be IntPtr.Zero when the CombineMode.Replace mode is specified
    combineMode
    A System.Drawing.Drawing2D.CombineMode that indicates the combine mode.
    Remarks
    The coordinate of region will not be effected by current origin of page space.
    See Also