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


IGPUtilities.GenerateSpRef Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.GenerateSpRef Method
ArcGIS Developer Help

IGPUtilities.GenerateSpRef Method

Generates a new spatial reference object.

[Visual Basic .NET]
Public Sub GenerateSpRef ( _
    ByVal pInputTables As IArray, _
    ByVal pOverlayTable As ITable, _
    ByVal growExtentBy As Double, _
    ByRef ppSpRef As ISpatialReference, _
    ByRef ppExtent As IEnvelope, _
    ByRef pHasMs As Boolean, _
    ByRef pMMin As Double, _
    ByRef pMMax As Double, _
    ByRef pHasZs As Boolean, _
    ByRef pZMin As Double, _
    ByRef pZMax As Double _
)
[C#]
public void GenerateSpRef (
    IArray pInputTables,
    ITable pOverlayTable,
    double growExtentBy,
    ref ISpatialReference ppSpRef,
    ref IEnvelope ppExtent,
    ref bool pHasMs,
    ref double pMMin,
    ref double pMMax,
    ref bool pHasZs,
    ref double pZMin,
    ref double pZMax
);
[C++]
HRESULT GenerateSpRef(
  IArray* pInputTables,
  ITable* pOverlayTable,
  double growExtentBy,
  ISpatialReference** ppSpRef,
  IEnvelope** ppExtent,
  Boolean* pHasMs,
  System.Double* pMMin,
  System.Double* pMMax,
  Boolean* pHasZs,
  System.Double* pZMin,
  System.Double* pZMax
);
[C++]
Parameters
pInputTables [in]

pInputTables is a parameter of type IArray* pOverlayTable [in]
pOverlayTable is a parameter of type ITable* growExtentBy [in]
growExtentBy is a parameter of type double ppSpRef [out]
ppSpRef is a parameter of type ISpatialReference** ppExtent [out]
ppExtent is a parameter of type IEnvelope** pHasMs [out]
pHasMs is a parameter of type bool* pMMin [out]
pMMin is a parameter of type double* pMMax [out]
pMMax is a parameter of type double* pHasZs [out]
pHasZs is a parameter of type bool* pZMin [out]
pZMin is a parameter of type double* pZMax [out]
pZMax is a parameter of type double*

Product Availability

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

See Also

IGPUtilities Interface