Creates the spatial reference from both a source and environment.
[Visual Basic 6.0] Function GetGPSpRefEnv(
ByVal pEnvMgr As IGPEnvironmentManager, _
ByVal pSrcSpRef As ISpatialReference, _
ByVal pNewExtent As IEnvelope, _
ByVal newMMin As Double, _
ByVal newMMax As Double, _
ByVal newZMin As Double, _
ByVal newZMax As Double, _
ByVal pWkspFDS As Unknown _
) As ISpatialReference
[Visual Basic .NET] Public Function GetGPSpRefEnv ( _ ByVal pEnvMgr As IGPEnvironmentManager, _ ByVal pSrcSpRef As ISpatialReference, _ ByVal pNewExtent As IEnvelope, _ ByVal newMMin As Double, _ ByVal newMMax As Double, _ ByVal newZMin As Double, _ ByVal newZMax As Double, _ ByVal pWkspFDS As Object _ ) As ISpatialReference
[C#] public ISpatialReference GetGPSpRefEnv ( IGPEnvironmentManager pEnvMgr, ISpatialReference pSrcSpRef, IEnvelope pNewExtent, double newMMin, double newMMax, double newZMin, double newZMax, object pWkspFDS );
[Java] public ISpatialReference getGPSpRefEnv ( IGPEnvironmentManager pEnvMgr, ISpatialReference pSrcSpRef, IEnvelope pNewExtent, double newMMin, double newMMax, double newZMin, double newZMax, Object pWkspFDS ) throws IOException, AutomationException
[C++] HRESULT GetGPSpRefEnv( IGPEnvironmentManager* pEnvMgr, ISpatialReference* pSrcSpRef, IEnvelope* pNewExtent, double newMMin, double newMMax, double newZMin, double newZMax, LPUNKNOWN pWkspFDS, ISpatialReference** ppSpRef );
Parameters
pEnvMgr [in]
pEnvMgr is a parameter of type IGPEnvironmentManager
pSrcSpRef [in]
pSrcSpRef is a parameter of type ISpatialReference
pNewExtent [in]
pNewExtent is a parameter of type IEnvelope
newMMin [in]
newMMin is a parameter of type double
newMMax [in]
newMMax is a parameter of type double
newZMin [in]
newZMin is a parameter of type double
newZMax [in]
newZMax is a parameter of type double
pWkspFDS [in]
pWkspFDS is a parameter of type LPUNKNOWN
ppSpRef [out, retval]
ppSpRef is a parameter of type ISpatialReference
The GetGPSpRefEnv method takes in a pEnvMgr and a pSrcSpRef object and returns a SpatialReference object.