User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.copygeometry_itgis_shape

Table of Contents

ITGIS_Shape.CopyGeometry method

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

Replaces this shape's geometry with geometry copied from another shape.

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

Syntax

// C#
public void CopyGeometry(
  ITGIS_Shape _shape
);
' VisualBasic
Public Sub CopyGeometry(
  ByVal _shape As ITGIS_Shape
)
// Oxygene
public
  procedure CopyGeometry(
    _shape : ITGIS_Shape
  );

Parameters

Name Type Description
_shape ITGIS_Shape Source shape whose geometry will be copied.

Remarks

PURPOSE: Replace the current vector geometry while keeping the existing shape object. Useful for geometry updates, conversion workflows, and cloning geometry without copying field values.

BEHAVIOR: Copies geometry data from _shape into this shape and discards the previous geometry. Field definitions and attribute values are not copied by this method.

CONSTRAINTS: Existing geometry is overwritten. Use CopyFields separately when attribute schema must also be copied.

References

2026/07/05 01:25

Page Tools