This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPExtent Interface > IGPExtent.SetExtent Method (ArcObjects .NET 10.4 SDK) |
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 );
Optional Values
[C++]
HRESULT SetExtent(
esriGPExtentEnum envType,
VARIANT* extentProvider,
VARIANT* snapRasterData
);
[C++]
Parameters envType [in]
envType is a parameter of type esriGPExtentEnum extentProvider [optional] extentProvider is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. snapRasterData [optional] snapRasterData is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.