GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / ContainedByRectangle Method
a RectangleF in document coordinates.
In This Topic
    ContainedByRectangle Method (GoObject)
    In This Topic
    Determine if a given rectangle completely encloses this object.
    Syntax
    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.
    See Also