User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.createcopy_void

Table of Contents

ITGIS_Shape.CreateCopy method

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

Create an independent deep copy of the shape geometry, attributes, and style state.

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

Syntax

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

Result

Type Description
ITGIS_Shape New shape instance containing a deep copy of the current shape.

Remarks

PURPOSE: Duplicate a shape so it can be edited, stored, or used in undo/redo workflows without modifying the original geometry.

BEHAVIOR: Copies the shape geometry, field values, and style- related properties into a new instance. The copied shape is not added to any layer or spatial index automatically.

CONSTRAINTS: The caller owns the returned shape instance. Large or multipart geometry may require substantial additional memory.

References

2026/07/05 01:25

Page Tools