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


IRasterNeighborhood2.SetWeightFile 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.SetWeightFile Method
ArcGIS Developer Help

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