ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / 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.
    Public Property ClippingRegion As System.IntPtr
    public System.IntPtr ClippingRegion {get; set;}

    Property Value

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

    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