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


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

IRasterFunctionHelper.Read Method

Reads a pixel block starting from the top left corner.

[Visual Basic .NET]
Public Sub Read ( _
    ByVal pTlc As IPnt, _
    ByVal pRaster As IRaster, _
    ByVal pReferenceRaster As IRaster, _
    ByVal pPixelBlock As IPixelBlock _
)
[C#]
public void Read (
    IPnt pTlc,
    IRaster pRaster,
    IRaster pReferenceRaster,
    IPixelBlock pPixelBlock
);
[C++]
HRESULT Read(
  IPnt* pTlc,
  IRaster* pRaster,
  IRaster* pReferenceRaster,
  IPixelBlock* pPixelBlock
);
[C++]

Parameters pTlc [in]
pTlc is a parameter of type IPnt* pRaster [in]
pRaster is a parameter of type IRaster* pReferenceRaster [in]
pReferenceRaster is a parameter of type IRaster* pPixelBlock [in]
pPixelBlock is a parameter of type IPixelBlock*

Product Availability

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

See Also

IRasterFunctionHelper Interface

.NET Samples

Create an NDVI custom raster function (Code Files: NDVICustomFunction) | Create a custom raster function (Code Files: WatermarkFunction)