Imports Visio 2013 XML Drawing files (*.vsdx) into Diagram or DiagramDocument objects.
Namespace: MindFusion.Diagramming.Wpf.Import
Assembly: MindFusion.Diagramming.Wpf.VisioImport
C# Copy Code |
---|
public class Visio2013Importer |
Visual Basic Copy Code |
---|
Public Class Visio2013Importer |
The Visio2013Importer class can import .vsdx files, created by version 2013 of Microsoft Visio. In order to use it, you must add a reference to the MindFusion.Diagramming.Wpf.VisioImport.dll assembly.
Various overloads of the Import method can be used to import the Visio drawing into a DiagramDocument whose pages correspond to the Visio pages, or into a single Diagram whose content is merged from all imported pages. When merging multiple pages, their positions in the diagram depend on the PagesPerRow value.
Visio2013Importer supports Visio's basic flowchart and data flow stencils. For each node shape from the .vsdx file, the importer creates a ShapeNode object whose Shape, Text, Brush and Stroke properties are set to values corresponding to the imported Visio shape. For each connector shape, the importer creates a DiagramLink object whose Origin and Destination are set to the corresponding imported nodes, and whose ControlPoints reflect the geometry of the connector.
System.Object
MindFusion.Diagramming.Wpf.Import.Visio2013Importer