public virtual bool IsClosed()
 {
     com.epl.geometry.MultiPath mp = (com.epl.geometry.MultiPath)GetEsriGeometry();
     for (int i = 0, n = mp.GetPathCount(); i < n; i++)
     {
         if (!mp.IsClosedPathInXYPlane(i))
         {
             return(false);
         }
     }
     return(true);
 }