This document is archived and information here might be outdated.  Recommended version.


IGPUtilities2.GetGPSpRefEnvEx Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPUtilities2.GetGPSpRefEnvEx Method

Creates the spatial reference from both a source and environment.

[Visual Basic .NET]
Public Function GetGPSpRefEnvEx ( _
    ByVal pEnvMgr As IGPEnvironmentManager, _
    ByVal pSrcSpRef As ISpatialReference, _
    ByVal pTgtSpRef 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 GetGPSpRefEnvEx (
    IGPEnvironmentManager pEnvMgr,
    ISpatialReference pSrcSpRef,
    ISpatialReference pTgtSpRef,
    IEnvelope pNewExtent,
    double newMMin,
    double newMMax,
    double newZMin,
    double newZMax,
    object pWkspFDS
);
[C++]
HRESULT GetGPSpRefEnvEx(
  IGPEnvironmentManager* pEnvMgr,
  ISpatialReference* pSrcSpRef,
  ISpatialReference* pTgtSpRef,
  IEnvelope* pNewExtent,
  double newMMin,
  double newMMax,
  double newZMin,
  double newZMax,
  LPUNKNOWN pWkspFDS,
  ISpatialReference** ppSpRef
);
[C++]

Parameters pEnvMgr [in]
pEnvMgr is a parameter of type IGPEnvironmentManager pSrcSpRef [in]
pSrcSpRef is a parameter of type ISpatialReference pTgtSpRef [in]
pTgtSpRef 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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPUtilities2 Interface