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


IARMap.CanUndoExtent Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

IARMap.CanUndoExtent Property

Indicates if there is a map extent that can be undone.

[Visual Basic .NET]
Public ReadOnly Property CanUndoExtent As Boolean
[C#]
public bool CanUndoExtent {get;}

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Whenever the extent of the map changes the previous extent is placed onto an extent stack. It is possible to navigate backwards and forwards through any extents in the extent stack.

CanUndoExtent indicates if there is an ARMap extent that can be undone. Use the property before using the UndoExtent method. 

See Also

IARMap Interface | IARMap.CanRedoExtent Property | IARMap.UndoExtent Method | IARMap.RedoExtent Method