ESRI.ArcGIS.E2API Feedback via the User Forum
AutoZoom Property
See Also 
ESRI.ArcGIS.E2API Namespace > TaskContext Class : AutoZoom Property

If set to true the application zooms to the results of a task after execution.


Visual Basic (Declaration) 
Public Property AutoZoom As Boolean
Visual Basic (Usage)Copy Code
Dim instance As TaskContext
Dim value As Boolean
instance.AutoZoom = value
value = instance.AutoZoom
public bool AutoZoom {get; set;}


If this property is set to true the application will zoom automatically to the result that has been added by a task. If multiple results have been added the application will zoom to the extent of these results. After zooming to the results this property is automatically reset to false.


Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Version Information

This property was added to the E2API at version

See Also