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


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

IGPSANeighborhood.SetWeight Method

Sets a neighborhood object each of whose entries can be assigned a weight.

[Visual Basic .NET]
Public Sub SetWeight ( _
    ByVal height As Integer, _
    ByVal width As Integer, _
    ByRef entryValues As Object _
)
[C#]
public void SetWeight (
    int height,
    int width,
    ref object entryValues
);
[C++]
HRESULT SetWeight(
  long height,
  long width,
  Variant* entryValues
);
[C++]
Parameters
height [in]

height is a parameter of type long width [in]
width is a parameter of type long entryValues [in]
entryValues is a parameter of type VARIANT*

Product Availability

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

See Also

IGPSANeighborhood Interface