Jelajahi Produk kami 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
Konversikan diagram lengkung Microsoft Visio® VSDX atau gambar sederhana ke format gambar SVG (Scalable Vector Graphic). Berikut ini adalah contoh kode C# konverter VSDX ke SVG sederhana:
// 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);
Saat mengonversi atau mengekspor diagram Microsoft Visio® ke format HTML, kualitas HTML yang dihasilkan telah sangat ditingkatkan. Berikut ini adalah contoh kode C# konverter VSD ke HTML sederhana:
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);
Kemampuan untuk mendapatkan atau mengatur resolusi HTML yang dihasilkan dalam titik per inci (DPI). Berikut ini adalah contoh kode C# sederhana yang menunjukkan cara mengatur resolusi halaman HTML ke 96 DPI melalui .NET API:
HTMLSaveOptions option = new HTMLSaveOptions(); option.Resolution = 96;
Untuk daftar lengkap fitur, penyempurnaan, dan perbaikan bug dalam rilis ini, kunjungi Aspose.Diagram for .NET 22.6 Release Notes.