NShape Reference
IShapeCollection.Replace Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > IShapeCollection Interface >

NShape Reference
IShapeCollection.Replace Method

Previous pageReturn to chapter overviewNext page

Exchanges a shape in the diagram by another one.

Syntax

public void Replace(Shape previousShape, Shape newShape)

Description

Removes the previous shape and inserts the new shape at the same location. The new shape receives the position, the z-order and the layers of the previous shape.