Birleştir Birleştir Diagram
Contents
[
Hide
]
Olası Kullanım Senaryoları
Python için Aspose.Diagram via Java, iki visio dosyasını bir dosyada birleştirmenizi sağlar. Python via Java API için Aspose.Diagram, bir Visio çizimini temsil eden Diagram sınıfına sahiptir. Yöntemi kullanmabirleştir Diagram sınıfında diyagramları birleştirmek için.
Basit kod
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
import jpype | |
import asposediagram | |
jpype.startJVM() | |
from asposediagram.api import * | |
lic = License() | |
lic.setLicense("Aspose.Total.Product.Family.lic") | |
# Load a Visio diagram | |
diagram = Diagram("Drawing1.vsdx") | |
# Load another Visio diagram | |
diagram2 = Diagram("DrawingFlowChart.vsdx") | |
diagram2.combine(diagram) | |
# save in the VSDX format | |
diagram2.save("CombineDiagram_Out.vsdx", SaveFileFormat.VSDX) | |
jpype.shutdownJVM() |