Dimensions of structure/reaction scheme

User 00d8fa0569

27-04-2015 14:04:40

Hi,


Is there a way to obtain the width and height of the structure/reaction scheme within the renderer so that these values could be used to export an image at the same size? I'm ideally looking for the bounding rectangle of the structure/reaction.


I cannot see anything obvious on the api...https://marvinjs-demo.chemaxon.com/latest/jsdoc.html


Thanks,


Nathan

ChemAxon f052bdfe3c

04-05-2015 09:29:43

Hi Nathan,


We do not have this option. You can define the width and the height of the images (seeĀ https://marvinjs-demo.chemaxon.com/latest/jsdoc.html) and/or you can use the autoshrink zoomMode.


Best regards,


Efi