ComponentOne CalendarView for WinForms
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.
    Public Function GetClippingBox() As Rectangle
    public Rectangle GetClippingBox()

    Return Value

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