Search
VisioImporter Class
Remarks See Also
 





Imports Visio 2003 XML Drawing files (*.vdx) into MindFusion.Diagramming.

Namespace: MindFusion.Diagramming.Import
Assembly: MindFusion.Diagramming.Import.Visio

 Syntax

C#  Copy Code

public class VisioImporter

Visual Basic  Copy Code

Public Class VisioImporter

 Remarks

Add a reference to the MindFusion.Diagramming.Import.Visio.dll to your project in order to use this component.

The component allows importing Visio 2003 XML Drawing files (*.vdx) into MindFusion.Diagramming. The standard Visio flowchart shapes, as well as most of the UML and Database entity shapes are imported to their closest representation in MindFusion.Diagramming. The Visio connectors are imported as MindFusion.Diagramming DiagramLink objects, preserving the relationship between the connected nodes. In addition, most of the attributes of Visio objects such as text, text formatting, fill and line colors and styles are preserved. The component raises an event for each imported node to let you set the node shape if it is not recognized by MindFusion.Diagramming or if you need to set a different shape.

To determine how many pages contains the Visio document and import only a single page, call the GetPageCount and ImportPage methods. All pages of a Visio diagram can be imported at once by calling the ImportAllPages method, which lays out the pages as set in PagesPerRow. More properties and events provided by the class are listed below.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Import.VisioImporter

 See Also