Search
VisioImporter.ShapeImported Event
See Also
 





Raised when a Visio shape is imported into NetDiagram as a ShapeNode.

Namespace: MindFusion.Diagramming.Import
Package: MindFusion.Diagramming.Import.Visio

 Syntax

C#  Copy Code

public event EventHandler<ShapeImportedEventArgs> ShapeImported

Visual Basic  Copy Code

Public Event ShapeImported As EventHandler(Of ShapeImportedEventArgs)

 Event Data

ShapeImported event handlers receive an argument of type ShapeImportedEventArgs. The following ShapeImportedEventArgs members provide information relevant to the event:

Member name

Description

Shape

Refers to the imported ShapeNode instance.

ShapeName

The name of the Visio node shape.

 Remarks

The basic Visio flowchart shapes are mapped to the NetDiagram predefined shape templates. If the importer does not recognize a specific Visio shape, the node created for it is set to a simple rectangle. You can handle this event in order to set the shape of a node whose Visio counterpart is not recognized, or whose default value set by the importer is not appropriate for your application.

 See Also