User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layervector.revert_tgis_uid

Table of Contents

TGIS_LayerVector.Revert method

DK11 for .NET | TatukGIS.NDK.TGIS_LayerVector.Revert | Constructors | Fields | Methods | Properties | Events

Reverts a shape to its original state.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public void Revert(
  long _uid
);
' VisualBasic
Public Sub Revert(
  ByVal _uid As Long
)
// Oxygene
public
  procedure Revert(
    _uid : TGIS_Uid
  ); virtual;

Parameters

Name Type Description
_uid long
TGIS_Uid
Uid of a shape to be reverted

Remarks

Use this method to revert a shape indicated by Uid to its file based original state. If shape is not saved, it will be deleted. See MakeEditable.

Example

Here is a simple procedure to revert a shape.

2020/05/07 01:18