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


IGPSANeighborhood2.SetRectangle Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IG > IGPSANeighborhood2 Interface > IGPSANeighborhood2.SetRectangle Method
ArcGIS Developer Help

IGPSANeighborhood2.SetRectangle Method

Sets a rectangle neighborhood object.

[Visual Basic .NET]
Public Sub SetRectangle ( _
    ByVal width As Double, _
    ByVal height As Double, _
    ByVal unitsType As esriGeoAnalysisUnitsEnum _
)
[C#]
public void SetRectangle (
    double width,
    double height,
    esriGeoAnalysisUnitsEnum unitsType
);
[C++]
HRESULT SetRectangle(
  double width,
  double height,
  esriGeoAnalysisUnitsEnum unitsType
);
[C++]
Parameters
width [in]

width is a parameter of type double height [in]
height is a parameter of type double unitsType [in]
unitsType is a parameter of type esriGeoAnalysisUnitsEnum

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

See Also

IGPSANeighborhood2 Interface