Click or drag to resize

GM_UtilitySetProjectionEx 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)
Syntax
public static GM_Error_t32 SetProjectionEx(
	GM_Projection_t aProj,
	GM_Rectangle_t aLatLonRect,
	Object aReserved
)

Parameters

aProj
Type: GlobalMapper.TypesGM_Projection_t
IN: The projection to set, if null reset projection
aLatLonRect
Type: GlobalMapper.TypesGM_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