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