MindFusion.Charting Programmer's Guide

ShapeCollection.Insert Method

See Also
 





Inserts the specified Shape object at the specified position within the collection.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public void Insert (
    int index,
    Shape value
)

Visual Basic  Copy Code

Public Sub Insert ( _
    index As Integer, _
    value As Shape _
)

JavaScript  Copy Code

function Insert (index, value)

 Parameters

index
The zero-based index at which value should be inserted.
value
The Shape object to insert.

 Remarks

The collection's count is increased with 1. The items, which followed the inserted item, are moved backwards with one place. Their indexes are also updated.

 See Also