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.8

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 13.04MB
  • Date Added:
  • 3/8/2022

File Details

Dynamic Connector Shape

Ability to add points to the dynamic connector shape in Visio® formats. The following C# sample code demonstrates how to select the rerouting of the connector shapes in VSDX diagrams using API:

// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_Shapes();

// Call a Diagram class constructor to load the VSDX diagram
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx");
// Get page by name
Page page = diagram.Pages.GetPage("Page-3");

// Get a particular connector shape
Shape shape = page.Shapes.GetShape(18);
// Set reroute option
shape.Layout.ConFixedCode.Value = ConFixedCodeValue.NeverReroute;

// Save Visio diagram
diagram.Save(dataDir + "RerouteConnectors_out.vsdx", SaveFileFormat.VSDX);

Improved Visio® / Interop Functionality

Previously the shapes were not being updating as per the Visio®/Interop after the text addition. This issue has now been resolved in the API.

Improved Conversions from Visio® to Various Formats

Various file format conversion scenarios have been improved, such as, Visio to HTML, VSD to VSDX, Diagram to SVG, and VSDX to PDF Conversion.

The following code snippet in C#, shows how to convert VSDX to PDF using API, while splitting multiple pages:

// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadSaveConvert();
// Call the diagram constructor to load diagram from a VSDX file
Diagram diagram = new Diagram(dataDir + "Network Diagram_start.vsdx");
// Initialize PdfSaveOptions
Aspose.Diagram.Saving.PdfSaveOptions options = new Aspose.Diagram.Saving.PdfSaveOptions();
// set SplitMultiPages option
options.SplitMultiPages = true;
// save in PDF format
diagram.Save(dataDir + "SplitMultiPages.pdf", options);

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

 English