# OEGetMoleculeScale¶

double OEGetMoleculeScale(const OEChem::OEMolBase &mol,
const OE2DMolDisplayOptions &opts)


Estimates the scaling factor of the molecule depiction based on the parameters stored in given OE2DMolDisplayOptions object.

mol
The molecule of which scaling factor is determined.
opts
The OE2DMolDisplayOptions object that stores the parameters that determine the scaling factor (such as width and height).