Browse our Products Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
VSDX
SVG
Convertissez des diagrammes courbes Microsoft Visio® VSDX ou des dessins simples au format d’image SVG (Scalable Vector Graphic). Voici un exemple de code C# simple convertisseur VSDX vers SVG :
// the path to the documents directory. string dataDir = RunExamples.GetDataDir_LoadSaveConvert(); // call the diagram constructor to load diagram from a VSD file Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); // create an instance SVG save options class SVGSaveOptions options = new SVGSaveOptions(); ShapeCollection shapes = options.Shapes; // get shapes by page index and shape ID, and then add in the shape collection object shapes.Add(diagram.Pages[0].Shapes.GetShape(1)); shapes.Add(diagram.Pages[0].Shapes.GetShape(2)); // save Visio drawing diagram.Save(dataDir + "SelectiveShapes_out.svg", options);
Lors de la conversion ou de l’exportation de diagrammes Microsoft Visio® au format HTML, la qualité du HTML résultant a été considérablement améliorée. Voici un exemple de code C# simple convertisseur VSD vers HTML :
HTML
// For complete examples and data files, please go to https://github.com/aspose-diagram/Aspose.Diagram-for-.NET // The path to the documents directory. string dataDir = RunExamples.GetDataDir_LoadSaveConvert(); // Load diagram Diagram diagram = new Diagram(dataDir + "ExportToHTML.vsd"); // Save diagram diagram.Save(dataDir + "outputVSDtoHTML.html", SaveFileFormat.HTML);
Possibilité d’obtenir ou de définir la résolution du HTML résultant en points par pouce (DPI). Voici un exemple de code C# simple qui montre comment définir la résolution de la page HTML sur 96 PPP via l’API .NET :
HTMLSaveOptions option = new HTMLSaveOptions(); option.Resolution = 96;
Pour une liste complète des fonctionnalités, des améliorations et des bogues corrigés dans cette version, veuillez visiter Aspose.Diagram for .NET 22.6 Release Notes.