DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.CopyGeometry | Methods | Properties
Replaces this shape's geometry with geometry copied from another shape.
// C# public void CopyGeometry( ITGIS_Shape _shape );
' VisualBasic Public Sub CopyGeometry( ByVal _shape As ITGIS_Shape )
// Oxygene public procedure CopyGeometry( _shape : ITGIS_Shape );
| Name | Type | Description |
|---|---|---|
| _shape | ITGIS_Shape | Source shape whose geometry will be copied. |
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.