This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometryCollection Interface > IGeometryCollection.GeometriesChanged Method (ArcObjects .NET 10.4 SDK) |
Tells this geometry collection that some of its geometries have been altered. Use this method on polylines, polygons and multipatches after directly editing one of its parts.
[Visual Basic .NET]
Public Sub GeometriesChanged ( _
)
[C#] public void GeometriesChanged ( );
[C++]
HRESULT GeometriesChanged(
void
);
GeometriesChanged flags that the geometries have been changed. It also marks a top level geometry as being non-simple. Use it when manipulating the parts of a geometry directly (for example, rotating a ring). The top level geometry won't know that its cached envelope, length, centroid, etc. are invalid until this method is used.