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
)
Public Shared Function SetProjectionEx (
aProj As GM_Projection_t,
aLatLonRect As GM_Rectangle_t,
aReserved As Object
) As GM_Error_t32
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_t32GM Error Code
See Also