GM_UtilityProjectRectangle Method
Projects a rectangle from one projection to another

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
public static GM_Error_t32 ProjectRectangle(
	GM_Rectangle_t aRectIn,
	out GM_Rectangle_t aRectOut,
	GM_Projection_t aProjIn,
	GM_Projection_t aProjOut
)

Parameters

aRectIn
Type: GlobalMapperGM_Rectangle_t
IN: Rectangle to convert in input projection
aRectOut
Type: GlobalMapperGM_Rectangle_t
OUT: Rectangle in output projection
aProjIn
Type: GlobalMapperGM_Projection_t
IN: projection to convert from (NULL for current)
aProjOut
Type: GlobalMapperGM_Projection_t
IN: projection to convert to (NULL for current)

Return Value

Type: GM_Error_t32
A GM Error Code
See Also