User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.delete_void

Table of Contents

ITGIS_Shape.Delete method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Delete | Methods | Properties

Delete shape.

Available also on: Delphi | .NET | Java | 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:11

Page Tools