We are pleased to announce that the new version 18.3 of Aspose.Diagram API is now live. The recent version 18.3 has added support of changing the position of Page in Visio drawings, and the export of the VSD to XPS has been improved. The recent version 18.3 also covers enhancements and regular bug fixes. We recommend our client to incorporate the latest upgrade of Aspose.Diagram API to take benefit of improved functionality and bug fixes. Please use the following links for downloading Aspose.Diagram for .NET and Java assemblies.
Move Page Position in Visio Diagrams
Developers can add a new page to the target page index, and they can also change the position of an existing page in the Visio drawing. Developers can change the position of the Page with MoveTo member of the Page class as follows:
C#
// import diagram Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); Page newPage = new Page(1); // move page in the diagram
newPage.MoveTo(2); diagram.Save(dataDir + "Drawing1.vsdx", SaveFileFormat.VSDX);
Java
// import diagramDiagram diagram = new Diagram(dataDir + "Drawing1.vsdx");
Page newPage = new Page(1);// move page in the diagram
newPage.moveTo(2);
diagram.save(dataDir + "Drawing1.vsdx", SaveFileFormat.VSDX);
Aspose.Diagram for .NET and Java Resources
The following resources will help you work with Aspose.Diagram for .NET:
- Home page for Aspose.Diagram API.
- Aspose.Diagram API wiki docs– Help documentation and API reference documents.
- Aspose.Diagram product family forum– Post your technical questions, queries and any other problem you faced while running Aspose.Diagram APIs.
- Enable email subscription– Do not limit yourself, stay up-to-date with the latest news about the Aspose.Diagram APIs and new features, fixes, plus other API related topics by subscribing to Aspose.Diagram blog.
- Aspose.Diagram for .NET Examples– We have published our code examples on the social coding website GitHub.com. Anyone can explore the code examples for learning purposes.
- Aspose.Diagram for Java Examples – We have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.
- Release Notes (.NET and Java) – For details on API fixes, please check Release Notes having a complete list of the new features.