Hi,
Is there any way to call the API function that returns an image version of the diagram ?
Best regards, Artur
Hi,
Is there any way to call the API function that returns an image version of the diagram ?
Best regards, Artur
Hi Artur,
Thanks for your post. For exporting diagrams to images, you can call:
IDiagramUIModel diagram = ...
ExportDiagramAsImageOption options = new ExportDiagramAsImageOption(ExportDiagramAsImageOption.IMAGE_TYPE_PNG);
ApplicationManager.instance().getModelConvertionManager().exportDiagramAsImage(diagram, options);
Hope this helps. If there is any further inquiry, please do not hesitate to contact me.
Best regards,
Lilian Wong
Many thanks, Lilian.
Regards, Artur
Hi Artur,
You are welcome.
Best regards,
Lilian Wong