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


IMapCooker.Snap Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapCooker Interface > IMapCooker.Snap Method
ArcGIS Developer Help

IMapCooker.Snap Method

Snaps a view extent to one of map cache levels.

[Visual Basic .NET]
Public Sub Snap ( _
    ByVal pDisplay As IDisplay, _
    ByVal pExtent As IEnvelope _
)
[C#]
public void Snap (
    IDisplay pDisplay,
    IEnvelope pExtent
);
[C++]
HRESULT Snap(
  IDisplay* pDisplay,
  IEnvelope* pExtent
);
[C++]
Parameters
pDisplay [in]

pDisplay is a parameter of type IDisplay* pExtent [in]
pExtent is a parameter of type IEnvelope*

Product Availability

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

See Also

IMapCooker Interface