User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_dynamicaggregatorabstract.addshape_itgis_shape_itbaseobject

Table of Contents

ITGIS_DynamicAggregatorAbstract.AddShape method

DK for ActiveX | TatukGIS_XDK11.ITGIS_DynamicAggregatorAbstract.AddShape | Methods | Properties

Add an aggregated output shape with optional attribute context for the current aggregation cycle.

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

Syntax

// C#
public void AddShape(
  ITGIS_Shape _shape,
  ITBaseObject _attr
);
' VisualBasic
Public Sub AddShape(
  ByVal _shape As ITGIS_Shape,
  ByVal _attr As ITBaseObject
)
// Oxygene
public
  procedure AddShape(
    _shape : ITGIS_Shape;
    _attr : ITBaseObject
  );

Parameters

Name Type Description
_shape ITGIS_Shape Aggregated shape to render instead of one or more source shapes.
_attr ITBaseObject Optional attribute object stored in shape.TagPointer. Ownership is transferred to the aggregator for automatic cleanup.

Remarks

PURPOSE: Register an aggregated shape that represents a group of source features in the vector layer.

BEHAVIOR: Adds _shape to the temporary aggregation output set used during rendering. If _attr is provided, it is attached to shape.TagPointer and managed by the aggregator. Registered shapes are removed after the draw cycle completes.

CONSTRAINTS: Intended for use during Prepare. The aggregator assumes ownership of _attr. Added shapes are temporary and valid only for the current draw cycle.

2026/07/11 00:10

Page Tools