User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layervector.revert_olevariant

Table of Contents

ITGIS_LayerVector.Revert method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerVector.Revert | Methods | Properties

Reverts a shape to its original state.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void Revert(
  OleVariant _uid
);
' VisualBasic
Public Sub Revert(
  ByVal _uid As OleVariant
)
// Oxygene
public
  procedure Revert(
    _uid : OleVariant
  );

Parameters

Name Type Description
_uid OleVariant 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:04