Navegue pelos nossos produtos 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
Converta diagramas curvos VSDX do Microsoft Visio® ou desenhos simples para o formato de imagem SVG (Scalable Vector Graphic). Veja a seguir um exemplo de código C# simples de conversor de VSDX para 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);
Ao converter ou exportar diagramas do Microsoft Visio® para o formato HTML, a qualidade do HTML resultante foi consideravelmente melhorada. Veja a seguir um exemplo de código C# simples de conversor de VSD para 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);
Capacidade de obter ou definir a resolução do HTML resultante em pontos por polegada (DPI). Veja a seguir um exemplo de código C# simples que demonstra como definir a resolução da página HTML para 96 DPI por meio da API .NET:
HTMLSaveOptions option = new HTMLSaveOptions(); option.Resolution = 96;
Para obter uma lista completa de recursos, aprimoramentos e bugs corrigidos nesta versão, visite Aspose.Diagram for .NET 22.6 Release Notes.