Search
VisioImporter Class
Remarks See Also
 





Imports Visio 2003 XML Drawing files (*.vdx) into Diagram or DiagramDocument objects.

Namespace: MindFusion.Diagramming.Wpf.Import
Assembly: MindFusion.Diagramming.Wpf.VisioImport

 Syntax

C#  Copy Code

public class VisioImporter

Visual Basic  Copy Code

Public Class VisioImporter

 Remarks

Add a reference to MindFusion.Diagramming.Wpf.VisioImport.dll to your project in order to use this component.

VisioImporter 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 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.

The Import method imports all Visio pages into a DiagramDocument, creating a DiagramPage for each page from the VDX. To determine how many pages there are in a Visio document and import only a single page, call the GetPageCount and ImportPage methods. All pages of a Visio drawing can be imported into a single Diagram by calling the ImportAllPages method, which lays out the pages as set in PagesPerRow.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Wpf.Import.VisioImporter

 See Also