Aspose.Diagram for .NET 20.1 Release Notes

Improvements and Changes

KeySummaryCategory
DIAGRAMNET-51198Shade on hyperlink button is not rendered correctly on saving VSDM to SVGEnhancement
DIAGRAMNET-51526VSDX to PDF - Gradient fill for arrowheads lost in resultant PDFEnhancement
DIAGRAMNET-51539The gradient in shapes has lost in output SVGEnhancement
DIAGRAMNET-50705VSD to SVG export - Meta type shapes turn into messy symbolsBug
DIAGRAMNET-51664File is getting corrupted after removing unused themeBug
DIAGRAMNET-51665Images are shown as X after removing unused themesBug
DIAGRAMNET-51684While removing unused master shapes and styles only the image has a problemBug
DIAGRAMNET-51726Background Image Missing (PowerPoint is added in the VISIO) while removing unused master shapes and stylesBug
DIAGRAMNET-51737Visio to Html - image size IssueBug
DIAGRAMNET-51743Removing private information from Visio - the Visio document size issueBug
DIAGRAMNET-51745Strange Error Occurs in WPF application when converting VSD to VSDXBug

Public API and Backward Incompatible Changes

  • Added Pages to LoadOptions - Specifies the index of the pages to be loaded.
Aspose.Diagram.LoadOptions options = new Aspose.Diagram.LoadOptions(LoadFileFormat.VSDX);

options.Pages = new ArrayList();

options.Pages.Add(0);
  • Added SetFontSources in FontConfigs - Sets the Fonts Sources
Aspose.Diagram.MemoryFontSource sc1 = new Aspose.Diagram.MemoryFontSource(b);

Aspose.Diagram.MemoryFontSource sc2 = new Aspose.Diagram.MemoryFontSource(b);

Aspose.Diagram.MemoryFontSource[] sc = new Aspose.Diagram.MemoryFontSource[] { sc1, sc2 };

Aspose.Diagram.FontConfigs.SetFontSources(sc);