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


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

IRaster2.ToPixelColumn Method

Maps a x coordinate in map space to the pixel column.

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

Parameters x [in] x is a parameter of type double pColumn [out, retval] pColumn 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