Search
SvgImporter Class
Remarks See Also
 





SvgImporter lets you import the contents of an SVG file into a Diagram object.

Namespace: MindFusion.Diagramming.Import
Package: MindFusion.Diagramming.Import.Svg

 Syntax

C#  Copy Code

public class SvgImporter

Visual Basic  Copy Code

Public Class SvgImporter

 Remarks

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

The component allows importing Scalable Vector Graphics files (*.svg) into MindFusion.Diagramming. Each top-level SVG group element is imported as a separate SvgNode, whose Content is set to the group's child elements. If the SVG file was exported from Visio or OpenOffice Draw, SvgImporter will create DiagramLink objects for groups it recognizes as connectors in order to recreate the original diagram model, though in this case it will not preserve fully the original appearance of connectors in SVG.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Import.SvgImporter

 See Also