ComponentOne MultiSelect 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.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also