User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.makeeditable_void

Table of Contents

ITGIS_Shape.MakeEditable method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.MakeEditable | Methods | Properties

Promote shape to editable state (detach from file/database). Enables geometry modification for previously-read shapes.

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

Syntax

// C#
public ITGIS_Shape MakeEditable();
' VisualBasic
Public Function MakeEditable() As ITGIS_Shape
// Oxygene
public
  function MakeEditable : ITGIS_Shape;

Result

Type Description
ITGIS_Shape Reference to editable version of shape (may be same or new instance depending on implementation).

Remarks

PURPOSE:Enable geometry edits. Detaches shape from file (if file-mapped). Returns mutable copy. For shapes loaded read-only, creates editable variant.

BEHAVIOR:If shape file-mapped (IsMapped), materializes geometry from file. Marks as editable. Subsequent operations use mutable version.

USAGE:Enable edit:editable := shape.MakeEditable; editable.AddPoint(newVertex);

CONSTRAINTS:May allocate memory (file-mapped → memory). Returns self or editable copy (depend on implementation).

References

2026/06/12 22:20

Page Tools