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.
// C# public ITGIS_Shape MakeEditable();
' VisualBasic Public Function MakeEditable() As ITGIS_Shape
// Oxygene public function MakeEditable : ITGIS_Shape;
| Type | Description |
|---|---|
| ITGIS_Shape | Reference to editable version of shape (may be same or new instance depending on implementation). |
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).