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


IRaster2.PixelToMap Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRaster2 Interface > IRaster2.PixelToMap Method
ArcGIS Developer Help

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,
  System.Double* pX,
  System.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