ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / GetClippingBox Method

In This Topic
    GetClippingBox Method
    In This Topic
    Retrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device. The visible area is defined by the current clipping region or clip path, as well as any overlapping windows.
    Syntax
    'Declaration
     
    Public Function GetClippingBox() As System.Drawing.Rectangle
    public System.Drawing.Rectangle GetClippingBox()

    Return Value

    A System.Drawing.Rectangle indicates the dimensions, in logical units.
    See Also