Global Mapper v25.0

World File not being generated when exporting elevation data using python

We are trying to export elevation data using python api to geotiff. When using the following function with export flags, it is not generating world file of geotiff. This is the flag we are passing in the "ExportElevationEx" function : "gm.GM_ExportFlags_GenWorldFile + gm.GM_ExportFlags_GenPRJFile + gm.GM_ExportFlags_NoCompression"

It is working in the "ExportRasterEx" but not in the "ExportElevationEx".

Are we missing something ?