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

Revert 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 a file based original. Unsaved shape will be deleted. See MakeEditable.

Example

Here is a simple procedure to revert a shape.

2019/09/27 01:17