GoDiagram Web Reference
ContainedByRectangle Method (GoObject)

a RectangleF in document coordinates.
Determine if a given rectangle completely encloses this object.
Syntax
'Declaration
 
Public Overridable Function ContainedByRectangle( _
   ByVal r As RectangleF _
) As Boolean
public virtual bool ContainedByRectangle( 
   RectangleF r
)

Parameters

r
a RectangleF in document coordinates.

Return Value

True if this object is considered to be "inside" the rectangle r.
Remarks
The default behavior is to see if this object's Bounds are within the rectangle r. A zero width and/or height for this object is acceptable; but if either r.Width or r.Height are zero or negative, this will return false.
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

Reference

GoObject Class
GoObject Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback