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


IPixelReader.GetResolution Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IPixelReader.GetResolution Method

Gets X and Y resolution (cellsize) at a given level.

[Visual Basic .NET]
Public Sub GetResolution ( _
    ByVal Level As Integer, _
    ByRef pXResolution As Double, _
    ByRef pYResolution As Double _
)
[C#]
public void GetResolution (
    int Level,
    ref double pXResolution,
    ref double pYResolution
);
[C++]
HRESULT GetResolution(
  long Level,
  double* pXResolution,
  double* pYResolution
);
[C++]

Parameters Level [in] Level is a parameter of type long pXResolution [out] pXResolution is a parameter of type double pYResolution [out] pYResolution is a parameter of type double

Product Availability

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

See Also

IPixelReader Interface