globalmapper.SelectProjectionEx

globalmapper.SelectProjectionEx(GM_Projection_t aInitProj, POINT aDlgPos, GM_SelectProjFlags_t32 aFlags, uint32 aReserved=0) GM_Error_t32, GM_Projection_t[source]

Displays the projection selection dialog to allow the user to select a projection. If aInitProj is provided, the projection dialog is initialized to that projection. The caller can also optionally provide an initial location for the projection dialog on the screen as well as flags controlling the selection of the projection.

Parameters:
  • aInitProj (GM_Projection_t) – initial projection to use (None for default)

  • aDlgPos (POINT) – position of top left corner (in screen coordinates) for projection dialog (None for default)

  • aFlags (GM_SelectProjFlags_t32) – additional flags for projection selection

  • aReserved (uint32) – Reserved for future use; defaults to 0

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Projection selected by user

Return type:

GM_Projection_t