Rect.Contains (gb.geom)

Function Contains ( X As Integer, Y As Integer ) As Boolean

Return if the specified point is included in the rectangle.