This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IG > IGPSANeighborhood2 Interface > IGPSANeighborhood2.SetWeight Method (ArcObjects .NET 10.5 SDK) |
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