Browse our Products

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.

 

Aspose.Diagram for .NET 22.6

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 12.89MB
  • Date Added:
  • 10/6/2022

File Details

Curved Shapes VSDX to SVG Conversion

Convert Microsoft Visio® VSDX curved diagrams or simple drawings to SVG (Scalable Vector Graphic) image format. The following is a simple VSDX to SVG converter C# code example:

// 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);

Improved HTML quality when Converted from Visio®

While converting or exporting Microsoft Visio® diagrams to HTML format, the quality of the resultant HTML has been considerably improved. The following is a simple VSD to HTML converter C# code example:

// 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);

Get or Set HTML DPI Resolution

Ability to get or set the resolution of the resultant HTML in dots per inch (DPI). The following is a simple C# code example that demonstrates how to set the HTML page resolution to 96 DPI via .NET API:

HTMLSaveOptions option = new HTMLSaveOptions();
option.Resolution = 96;

For a complete list of features, enhancements, and bug fixed in this release please visit, Aspose.Diagram for .NET 22.6 Release Notes.

 English