ArcObjects Library Reference  (Carto)    

IMapCooker.Snap Method

Snaps a view extent to one of map cache levels.

[Visual Basic 6.0]
Sub Snap(
    ByVal pDisplay As IDisplay, _
    ByVal pExtent As IEnvelope _
)
[Visual Basic .NET]
Public Sub Snap ( _
    ByVal pDisplay As IDisplay, _
    ByVal pExtent As IEnvelope _
)
[C#]
public void Snap (
    IDisplay pDisplay,
    IEnvelope pExtent
);
[Java]
public void snap (
    IDisplay pDisplay,
    IEnvelope pExtent
)
throws
    IOException,
    AutomationException
[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