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


IRasterNeighborhood2.SetWeightFile Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoAnalyst)  

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

See Also

IRasterNeighborhood2 Interface