DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Delete | Methods | Properties
Delete shape.
// C# public void Delete();
' VisualBasic Public Sub Delete()
// Oxygene public procedure Delete;
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;