Input for WinForms | ComponentOne
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DummyDeviceContext Class / ClippingRegion Property

In This Topic
    ClippingRegion Property (DummyDeviceContext)
    In This Topic
    Gets or sets the handle of the current clipping region of the device context.
    Syntax
    'Declaration
     
    
    Public Property ClippingRegion As IntPtr
    public IntPtr ClippingRegion {get; set;}

    Property Value

    A System.IntPtr that indicates the handle of the clipping region.
    Remarks

    Note: [Get] The getting region is a copy of the current region. [Set] 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.

    To remove a device-context's clipping region, specify a IntPtr.Zero region handle.

    The coordinate of region will not be effected by current origin of page space.

    See Also