DK for Delphi | GisLayerVector.TGIS_Shape.Delete | Constructors | Fields | Methods | Properties
Delete shape.
// Delphi public procedure Delete;
// C++ Builder public: void Delete(void);
Shape will be marked as deleted but the real deletion will be performed upon save. Before save, the shape will simply be hidden.
To restore a shape after deleting it call (full restore) :
layer.Revert( shp.Uid ) ;
or (weak restore) :
shp.AddToIndex ; shp.IsDeleted := False;