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


IDisplayTransformationScales.ZoomTo Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformationScales Interface > IDisplayTransformationScales.ZoomTo Method
ArcGIS Developer Help

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