Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Vv

Pages: [1]
1
Suggestions and Requests / Re: Java API : Diagram Export Problem
« on: January 19, 2009, 08:13:36 pm »
OK it's working. Thanks for all

2
Suggestions and Requests / Re: Java API : Diagram Export Problem
« on: January 16, 2009, 09:56:49 pm »
is it possible to export just one diagram in a bmp, jpg file?

3
Suggestions and Requests / Java API : Diagram Export Problem
« on: January 16, 2009, 02:02:22 am »
I try to export a Diagram from EA to a bmp file.
I do like this:

Code: [Select]
Repository r = new org.sparx.Repository();
r.OpenFile("D:/Projets/toto/ea/ProjetToto/toto.eap");
Project project = r.GetProjectInterface();
String str = "{17F0F0FF-4F26-4b6d-8FC7-7456AACD7BF1}"

String image = project.ExportPackageXMI(str, EnumXMIType.xmiEADefault, 1, 1, 1, 1,"myPicture");
System.out.println("Ecriture de l'image :"+image);

I can't find any picture and variable 'image' is empty.

Could you help me?

Pages: [1]