EMFMoleculeImageCreator obsoleted in 5.11 - replacement?

User 1a8d11549a

24-11-2012 16:01:01

I am currently using "ChemAxon.NET.IKVM.Marvin.Paint.EMFMoleculeImageCreator()" for creting a renderer, which converts a molecule to an EMF image utilizing specific MarvinStructureDrawingInfo parameters. This function is marked as obsoleted in your 5.11 release ( the created renderer additionally doesn't take struc.molecule as an argument any more, but now requires JChemMolecule). - So what's the recommended replacement for this obsoleted function?


PS: As an alternative I tried ChemAxon.NET.IKVM.Marvin.Paint.MarvinMoleculeRenderer which worked before 5.11. But now it says it can't be accessed because its friend ...


Thanks for your help. 

ChemAxon bd13b5bd77

24-11-2012 16:54:26

Hi Stefan,


 


if you installed the new .NET APi you should find couple of examples re the new API and library AND drawing.


 (please see it in the attachment)


You should find the drawing example there.


1. to render with the obsolete one


2. to render with the new JChemMolecule class


We try to centralize a new object, which contains couple of features (like lazy loading of molecule atom graph, licensing, calculations, rendering, other services), these are all defined on this molecule object and you can replace all of them if you would like to
inside the IOC (class registry)


Viktor


 


 


 

User 1a8d11549a

26-11-2012 10:14:14

Found it, thanks Victor.