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


IGPSANeighborhood2.SetWeight Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IGPSANeighborhood2.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

IGPSANeighborhood2 Interface