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


IGPUtilities.GenerateSpRef Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

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,
  VARIANT_BOOL* pHasMs,
  double* pMMin,
  double* pMMax,
  VARIANT_BOOL* pHasZs,
  double* pZMin,
  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 VARIANT_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 VARIANT_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