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


IRaster2.ToPixelRow Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRaster2.ToPixelRow Method

Maps a y coordinate in map space to the pixel row.

[Visual Basic .NET]
Public Function ToPixelRow ( _
    ByVal y As Double _
) As Integer
[C#]
public int ToPixelRow (
    double y
);
[C++]
HRESULT ToPixelRow(
  double y,
  long* pRow
);
[C++]

Parameters y [in] y is a parameter of type double pRow [out, retval] pRow is a parameter of type long

Product Availability

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

See Also

IRaster2 Interface

.NET Related Topics

DataSourcesRaster | How to identify pixel values using a raster object