ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / ClippingRegion Property

In This Topic
    ClippingRegion Property
    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