Search
SvgImporter Class
Remarks See Also
 





SvgImporter lets you import a SVG file into a Diagram object.

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

 Syntax

C#  Copy Code

public class SvgImporter

Visual Basic  Copy Code

Public Class SvgImporter

 Remarks

Add a reference to the MindFusion.Diagramming.Wpf.SvgImport.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.Wpf.Import.SvgImporter

 See Also