$ 0 0 ClipGridWithPolygon method has proper return values. Updated TestApplication to close Grid objects after adding them as layers to the Map control.