globalmapper.SetMiscOption

globalmapper.SetMiscOption(GM_MiscOpt_t32 aOpt, uint8 aNewValue) uint8[source]

DEPRECATED: Use SetMiscOptionEx instead, since this function can’t handle options that take values over 8 bits in length, like GM_MiscOpt_SetLogFilename and GM_MiscOpt_SetTimingsFileName. Sets an advanced/miscellaneous option to use during operation. Returns the previous value.

Parameters
  • aOpt (GM_MiscOpt_t32) – Option to set

  • aNewValue (uint8) – New value (i.e. 1 to enable or 0 to disable), or value of other setting

Returns

The value of the previous option

Return type

uint8