GM_Projection_tSetProjectionEx 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: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
public static GM_Error_t32 SetProjectionEx(
	GM_Projection_t aProj,
	GM_Rectangle_t aLatLonRect,
	Object aReserved
)

Parameters

aProj
Type: GlobalMapperGM_Projection_t
IN: The projection to set, if null reset projection
aLatLonRect
Type: GlobalMapperGM_Rectangle_t
IN: Optional lat/lon/degrees rectangle for automatic selection of zone for zoned projections
aReserved
Type: SystemObject
IN: reserved for future use (must be NULL)

Return Value

Type: GM_Error_t32
GM Error Code
See Also