Aspose.Diagram.Examples.CSharp.Diagrams.ExportToSVG.Run C# (CSharp) Méthode

Run() public static méthode

public static Run ( ) : void
Résultat void
        public static void Run()
        {
            // ExStart:ExportToSVG
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_LoadSaveConvert();

            // Call the diagram constructor to load a VSD diagram
            Diagram diagram = new Diagram(dataDir + "ExportToSVG.vsd");

            // Save SVG Output file
            diagram.Save(dataDir + "Output.svg", SaveFileFormat.SVG);
            // ExEnd:ExportToSVG
        }
    }
ExportToSVG