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


IGPSANeighborhood2.SetWeightFile Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IGPSANeighborhood2.SetWeightFile Method

Sets a weight neighborhood by a file.

[Visual Basic .NET]
Public Sub SetWeightFile ( _
    ByVal fileName As String _
)
[C#]
public void SetWeightFile (
    string fileName
);
[C++]
HRESULT SetWeightFile(
  BSTR fileName
);
[C++]

Parameters fileName [in] fileName is a parameter of type BSTR

Product Availability

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

See Also

IGPSANeighborhood2 Interface