GM_Utility .SetProjectionEx Method |
Set the new projection. This is the projection that all draws and exports will be done in. It is also the projection that all world bound rectangles will be in. This version allows providing a lat/lon bounding rectangle for automatic selection of the best zone for zoned projections.
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)

C#
Copy
public static GM_Error_t32 SetProjectionEx(
GM_Projection_t aProj,
GM_Rectangle_t aLatLonRect,
Object aReserved
)
Parameters
- aProj
-
Type:
GlobalMapper.Types.GM_Projection_t
IN: The projection to set, if null reset projection - aLatLonRect
-
Type:
GlobalMapper.Types.GM_Rectangle_t
IN: Optional lat/lon/degrees rectangle for automatic selection of zone for zoned projections - aReserved
-
Type:
System.Object
IN: reserved for future use (must be NULL)
Return Value
Type: GM_Error_t32A GM Error Code
