User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.delete_void

Table of Contents

TGIS_Shape.Delete method

DK11 for .NET | TatukGIS.NDK.TGIS_Shape.Delete | Constructors | Fields | Methods | Properties

Delete shape.

Available also on: Delphi | Java | ActiveX | Python.

Syntax

// C#
public void Delete();
' VisualBasic
Public Sub Delete()
// Oxygene
public
  procedure Delete;

Remarks

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;
2022/11/16 01:35

Page Tools