This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapCooker Interface > IMapCooker.Snap Method (ArcObjects .NET 10.5 SDK) |
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