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


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

IGPExtent.SetExtent Method

Sets the type and values of extent.

[Visual Basic .NET]
Public Sub SetExtent ( _
    ByVal envType As esriGPExtentEnum, _
    [ByRef extentProvider As Object], _
    [ByRef snapRasterData As Object] _
)
[C#]
public void SetExtent (
    esriGPExtentEnum envType,
    ref object extentProvider,
    ref object snapRasterData
);
[C++]
HRESULT SetExtent(
  esriGPExtentEnum envType,
  Variant* extentProvider,
  Variant* snapRasterData
);
[C++]
Parameters
envType [in]

envType is a parameter of type esriGPExtentEnum extentProvider [in, optional]
extentProvider is a parameter of type VARIANT* snapRasterData [in, optional]
snapRasterData is a parameter of type VARIANT*

Product Availability

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

See Also

IGPExtent Interface