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


IPixelReader2.Snap2 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPixelReader2 Interface > IPixelReader2.Snap2 Method
ArcGIS Developer Help

IPixelReader2.Snap2 Method

Snaps a given cellsize to a proper pyramid level.

[Visual Basic .NET]
Public Function Snap2 ( _
    ByVal Dx As Double, _
    ByVal Dy As Double, _
    ByVal hint As esriRasterResamplingHint _
) As Integer
[C#]
public int Snap2 (
    double Dx,
    double Dy,
    esriRasterResamplingHint hint
);
[C++]
HRESULT Snap2(
  double Dx,
  double Dy,
  esriRasterResamplingHint hint
);
[C++]
Parameters
Dx [in]

Dx is a parameter of type double Dy [in]
Dy is a parameter of type double hint [in]
hint is a parameter of type esriRasterResamplingHint

Product Availability

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

See Also

IPixelReader2 Interface