Delete current part from shape.
// Delphi public procedure DeletePart;
// C++ Builder public: void DeletePart(void);
Editing will activate part number 0. If current shape has only one part, then whole shape will be deleted and edition will be stopped.
See CreatePart for example.
procedure MyClass.mnuAddPartClick(const _ptg : TGIS_Point3D ); begin // let's create a new part starting at _ptg GIS.Editor.CreatePart( _ptg ) ; // here we delete our new part GIS.Editor.DeletePart; end;