Search
Visio2013Importer Class
Remarks See Also
 





Imports Visio 2013 XML Drawing files (*.vsdx) into Diagram or DiagramDocument objects.

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

 Syntax

C#  Copy Code

public class Visio2013Importer

Visual Basic  Copy Code

Public Class Visio2013Importer

 Remarks

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.Import.Visio.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 Pen 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.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Import.Visio2013Importer

 See Also