ArcObjects Library Reference (Display)  

IDisplayTransformationScales.ZoomTo Method

Zoom to the specified scale. Center on extent.

[Visual Basic .NET]
Public Sub ZoomTo ( _
    ByVal extent As IEnvelope, _
    ByVal scale As Double _
)
[C#]
public void ZoomTo (
    IEnvelope extent,
    double scale
);
[C++]
HRESULT ZoomTo(
  IEnvelope* extent,
  double scale
);
[C++]

Parameters

extent [in]

  extent is a parameter of type IEnvelope

scale [in]   scale is a parameter of type double

Product Availability

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

See Also

IDisplayTransformationScales Interface