DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Reset | Methods | Properties
Clear all geometry (vertices and parts). Reinitializes shape as empty with default type.
// C# public void Reset();
' VisualBasic Public Sub Reset()
// Oxygene public procedure Reset;
PURPOSE:Clear geometry for reinitialization. Removes all vertices/parts in preparation for new geometry. Called before building new shape geometry.
BEHAVIOR:Deallocates all coordinate storage (Points, PointsZ, PointsM, Parts, PartTypes). Sets shape to empty state. Shape type retained.
USAGE:Reinitialize:shape.Reset; shape.Lock(Extent); shape.AddPart; shape.AddPoint(pt1); ...; shape.Unlock;
CONSTRAINTS:Virtual method (subclass may validate). Shape becomes empty (IsEmpty = true). Virtual method.