[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ClippingRegion

ClippingRegion Property

ClippingRegion

Gets or sets the handle of the current clipping region of the device context.

Declaration
public nint ClippingRegion { get; set; }
Property Value
Type Description
nint

A nint 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.