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


IRasterConvolutionFilter.PutCoefficients Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterConvolutionFilter Interface > IRasterConvolutionFilter.PutCoefficients Method
ArcGIS Developer Help

IRasterConvolutionFilter.PutCoefficients Method

Sets the element coefficients of the kernel filter.

[Visual Basic .NET]
Public Sub PutCoefficients ( _
    ByRef coefList As Double[]& _
)
[C#]
public void PutCoefficients (
    ref Double[]& coefList
);
[C++]
HRESULT PutCoefficients(
  SAFEARRAY(System.Double)* coefList
);
[C++]
Parameters
coefList [in, out]

coefList is a parameter of type SAFEARRAY(double)*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

PutCoefficents takes a dimentional (1D) array (row * column of the kernel), then transforms automatically to a 2D array. The side of 2D array is defined by SetSize method.

        size of 1D array = row * column of the kernel

 

See Also

IRasterConvolutionFilter Interface