DK11 for Java | tatukgis.jdk.TGIS_Shape.Delete | Constructors | Fields | Methods | Properties
Delete shape.
// Java public void 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;