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


IPixelReader.Snap Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IPixelReader.Snap Method

Snaps a given cellsize to a proper pyramid level.

[Visual Basic .NET]
Public Function Snap ( _
    ByVal Dx As Double, _
    ByVal Dy As Double _
) As Integer
[C#]
public int Snap (
    double Dx,
    double Dy
);
[C++]
HRESULT Snap(
  double Dx,
  double Dy,
  long* pLevel
);
[C++]

Parameters Dx [in] Dx is a parameter of type double Dy [in] Dy is a parameter of type double pLevel [out, retval] pLevel is a parameter of type long

Product Availability

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

See Also

IPixelReader Interface