Aspose.Diagram для Python via Java Ограничения и API Различия
Contents
[
Hide
]
Общественный API Различия
Пример
Aspose.Diagram for Java
import com.aspose.diagram.*;
public class Test1 {
public static void main(String[] args) throws Exception {
Diagram diagram = new Diagram();
diagram.save("out.vsdx",SaveFileFormat.VSDX);
}
}
Aspose.Diagram для Python via Java
import jpype
import asposediagram
def run():
kwargs = dict(convertStrings=True)
jpype.startJVM(**kwargs)
from asposediagram.api import Diagram, FileFormatType, License
diagram = Diagram()
diagram.save( "out.vsdx",SaveFileFormat.VSDX)
jpype.shutdownJVM()