Input for WinForms | ComponentOne
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / RawDeviceContext 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 (RawDeviceContext)
    In This Topic
    Combines the specified region with the current clipping region using the specified mode.
    Syntax
    'Declaration
     
    
    Public Sub SetClippingRegion( _
       ByVal regionHandle As IntPtr, _
       ByVal combineMode As CombineMode _
    ) 
    public void SetClippingRegion( 
       IntPtr regionHandle,
       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