DK11 for .NET | TatukGIS.NDK.TGIS_Shape.Delete | Constructors | Fields | 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;