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


IRasterNeighborhood2.SetWeight Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IR > IRasterNeighborhood2 Interface > IRasterNeighborhood2.SetWeight Method
ArcGIS Developer Help

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

See Also

IRasterNeighborhood2 Interface