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


IMosaicDataset.ApplyFunction Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IMosaicDataset.ApplyFunction Method

Applies a given function to this mosaic dataset on top of all existing functions.

[Visual Basic .NET]
Public Sub ApplyFunction ( _
    ByVal pFunction As IRasterFunction, _
    ByVal pArguments As Object, _
    ByVal Name As String _
)
[C#]
public void ApplyFunction (
    IRasterFunction pFunction,
    object pArguments,
    string Name
);
[C++]
HRESULT ApplyFunction(
  IRasterFunction* pFunction,
  LPUNKNOWN pArguments,
  BSTR Name
);
[C++]

Parameters pFunction [in]
pFunction is a parameter of type IRasterFunction pArguments [in] pArguments is a parameter of type LPUNKNOWN Name [in] Name is a parameter of type BSTR

Product Availability

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

See Also

IMosaicDataset Interface

.NET Samples

Create an NDVI custom raster function (Code Files: TestNDVICustomFunction) | Create a custom raster function (Code Files: TestWatermarkFunction)