DK for ActiveX | TatukGIS_XDK11.ITGIS_DynamicAggregatorAbstract.AddShape | Methods | Properties
Add an aggregated output shape with optional attribute context for the current aggregation cycle.
// 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 );
| 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. |
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.