GM_Utility .ProjectRectangle 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#
Copy
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:  GlobalMapper . GM_Rectangle_t
IN: Rectangle to convert in input projection
aRectOut
Type:  GlobalMapper . GM_Rectangle_t
OUT: Rectangle in output projection
aProjIn
Type:  GlobalMapper . GM_Projection_t
IN: projection to convert from (NULL for current)
aProjOut
Type:  GlobalMapper . GM_Projection_t
IN: projection to convert to (NULL for current)

Return Value

Type:  GM_Error_t32
A GM Error Code
See Also