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


IRasterFunctionHelper.CreateRaster Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterFunctionHelper.CreateRaster Method

Creates a new raster using a given reference raster.

[Visual Basic .NET]
Public Sub CreateRaster ( _
    ByVal pRaster As IRaster, _
    ByVal pReferenceRaster As IRaster, _
    ByRef ppBandIDs As ILongArray, _
    ByRef ppNewRaster As IRaster _
)
[C#]
public void CreateRaster (
    IRaster pRaster,
    IRaster pReferenceRaster,
    ref ILongArray ppBandIDs,
    ref IRaster ppNewRaster
);
[C++]
HRESULT CreateRaster(
  IRaster* pRaster,
  IRaster* pReferenceRaster,
  ILongArray** ppBandIDs,
  IRaster** ppNewRaster
);
[C++]

Parameters pRaster [in]
pRaster is a parameter of type IRaster* pReferenceRaster [in]
pReferenceRaster is a parameter of type IRaster* ppBandIDs [out]
ppBandIDs is a parameter of type ILongArray** ppNewRaster [out]
ppNewRaster is a parameter of type IRaster**

Product Availability

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

See Also

IRasterFunctionHelper Interface