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


IMapCooker.Snap Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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