Refresh shapes data

**Refreshes shape’s position including xform ,connection and geom when changing shape’s text or other’s **

The RefreshData method exposed by the Shape class can be used to refresh shape’s data

The code below shows how to:

  1. Load a sample file.
  2. Access a particular shape.
  3. Refresh shape’s data.

Refresh Shape’s data

Use the following code in your .NET application to refresh a shape using Aspose.Diagram for .NET.