Aspose.Diagram for Python via Java Limitations and API Differences
Contents
[
Hide
]
Público API Diferencias
Ejemplo
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 for 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()