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


IRasterLODInfos2.Snap2 Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRasterLODInfos2.Snap2 Method

Snaps a given cellsize to a proper Level Of Details.

[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,
  long* level
);
[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 level [out, retval] level is a parameter of type long

Product Availability

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

See Also

IRasterLODInfos2 Interface