Northwoods.Go Assembly > Northwoods.Go Namespace > GoObject Class : ExpandPaintBounds Method |
RectangleF
in document coordinates.
'Declaration Public Overridable Function ExpandPaintBounds( _ ByVal rect As RectangleF, _ ByVal view As GoView _ ) As RectangleF
public virtual RectangleF ExpandPaintBounds( RectangleF rect, GoView view )
RectangleF
in document coordinates.RectangleF
in document coordinates that may be slightly larger than the rect argument, to account for where this object may be painted.The Bounds property provides the abstract position and size of an object. However, the actual painted area is often somewhat larger, because of the thickness of a Pen
or because of a shadow.
The default behavior of this method is just to return the rect value.
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