ArcObjects Library Reference (DataSourcesRaster)  

IRaster2.PixelToMap Method

Converts a location (column, row) in pixel space into map space.

[Visual Basic .NET]
Public Sub PixelToMap ( _
    ByVal iColumn As Integer, _
    ByVal iRow As Integer, _
    ByRef pX As Double, _
    ByRef pY As Double _
)
[C#]
public void PixelToMap (
    int iColumn,
    int iRow,
    ref double pX,
    ref double pY
);
[C++]
HRESULT PixelToMap(
  long iColumn,
  long iRow,
  double* pX,
  double* pY
);
[C++]

Parameters

iColumn [in]   iColumn is a parameter of type long iRow [in]   iRow is a parameter of type long pX [out]   pX is a parameter of type double pY [out]   pY is a parameter of type double

Product Availability

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

See Also

IRaster2 Interface