GoDiagram Web Reference
IsUnoccupied Method

a RectangleF in document coordinates
an object that should be ignored when checking for collisions, usually the object in the document that you are considering moving; may be null to consider all avoidable objects
Returns true if there are any "avoidable" objects within or intersecting the given rectangular region.
Syntax
'Declaration
 
Public Function IsUnoccupied( _
   ByVal r As RectangleF, _
   ByVal skip As GoObject _
) As Boolean
public bool IsUnoccupied( 
   RectangleF r,
   GoObject skip
)

Parameters

r
a RectangleF in document coordinates
skip
an object that should be ignored when checking for collisions, usually the object in the document that you are considering moving; may be null to consider all avoidable objects
Remarks
This only considers document objects for which IsAvoidable returns true, with the "occupied" space determined by GetAvoidableRectangle.
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

GoDocument Class
GoDocument Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback