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

IMosaicDataset.ApplyFunction Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IM > IMosaicDataset Interface > IMosaicDataset.ApplyFunction Method
ArcGIS Developer Help

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 _
public void ApplyFunction (
    IRasterFunction pFunction,
    object pArguments,
    string Name
HRESULT ApplyFunction(
  IRasterFunction* pFunction,
  LPUNKNOWN pArguments,
  BSTR Name
pFunction [in]

pFunction is a parameter of type IRasterFunction* pArguments [in]
pArguments is a parameter of type IUnknown 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 a custom raster function Create an NDVI custom raster function