Raised when a Visio shape is imported into NetDiagram as a ShapeNode.
Namespace: MindFusion.Diagramming.Import
Package: MindFusion.Diagramming.Import.Visio
C# Copy Code |
---|
public event EventHandler<ShapeImportedEventArgs> ShapeImported |
Visual Basic Copy Code |
---|
Public Event ShapeImported As EventHandler(Of ShapeImportedEventArgs) |
ShapeImported event handlers receive an argument of type ShapeImportedEventArgs. The following ShapeImportedEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
Refers to the imported ShapeNode instance. | |
The name of the Visio node shape. |
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.