SvgImporter lets you import the contents of an SVG file into a Diagram object.
Namespace: MindFusion.Diagramming.Import
Assembly: MindFusion.Diagramming.Import.Svg
C# Copy Code |
---|
public class SvgImporter |
Visual Basic Copy Code |
---|
Public Class SvgImporter |
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.
System.Object
MindFusion.Diagramming.Import.SvgImporter