globalmapper.SetMiscOptionEx ============================ .. currentmodule:: globalmapper .. py:function:: SetMiscOptionEx (GM_MiscOpt_t32 aOpt, int aNewValue, int aReserved) -> int Sets an advanced/miscellaneous option to use during operation. Returns the previous value. See definition of GM_MiscOpt_t32 type for a list of available options and their descriptions. For on/off options you can also use the special value GM_MiscOptVal_Toggle to toggle the value to the opposite of the current value. If you just want to get the current value of an option and not change it, use :doc:`GetMiscOption`. :param GM_MiscOpt_t32 aOpt: Option to set :param int aNewValue: New value (i.e. 1 to enable or 0 to disable), or value of other setting. May be a pointer. :param int aReserved: Reserved for future use; must be 0. :returns: The value of the previous option :rtype: int