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.
'Declaration
Public Function GetClippingBox() As Rectangle
public Rectangle GetClippingBox()
Return Value
A
System.Drawing.Rectangle indicates the dimensions, in logical units.
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