دمج الجمع Diagram
Contents
[
Hide
]
سيناريوهات الاستخدام الممكنة
Aspose.Diagram يسمح لك بدمج ملفين visio في ملف واحد. Aspose.Diagram for Java API لديهDiagram فئة تمثل رسم Visio. باستخدام الطريقةيجمع فيDiagram فئة لدمج الرسوم البيانية.
عينة من الرموز
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-diagram/Aspose.Diagram-for-Java | |
// The path to the documents directory. | |
String dataDir = Utils.getDataDir(CombineDiagram.class); | |
// Load a Visio diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
// Load another Visio diagram | |
Diagram diagram2 = new Diagram(dataDir + Drawing2.vsdx"); | |
diagram2.combine(diagram); | |
// save in the VSDX format | |
diagram.save(dataDir + "CombineDiagram_Out.vsdx", SaveFileFormat.VSDX); |