This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformationScales Interface > IDisplayTransformationScales.ZoomTo Method (ArcObjects .NET 10.4 SDK) |
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