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


IMapInset Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapInset Interface

Provides access to members that control the inset map surrounds. Note: the IMapInset interface has been superseded byIMapInset2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method CalculateVisibleBounds Calculates the visible bounds by applying the zoom or scale parameter to MapBounds (used when snapshot is false).
Method DelayEvents Used to batch operations together to minimize notifications.
Read-only property Description Description reflecting the current settings of the MapInset.
Method Draw Draws the map surround into the specified display bounds.
Method FitToBounds Adjusts the map surround to fit the bounds. The changed argument indicates whether the size of the map surround was changed.
Read-only property Icon Icon used to represent the map surround.
Read/write property IsLive Indicates if the inset shows a live view of the underlying map. False means a snapshot of the underlying map is taken at the time the flag is changed.
Read/write property Map The parent map.
Read/write property MapBounds The relative position of the inset to the associated map (used when the inset is live). The zoom amount is applied to this rectangle to determine the visible bounds that is actually drawn.
Read/write property Name Name of the map surround.
Method QueryBounds Returns the bounds of the map surround.
Method Refresh Makes sure the latest updates are refected the next time the Map Surround is drawn.
Read-only property UsingZoomScale Indicates if ZoomScale or ZoomPercent is being used. The one specified last is being used.
Read/write property VisibleBounds The map extent shown by the inset (used when the inset is not live).
Read/write property ZoomPercent Zoom amount as a percentage. 100 means show the underlying map at normal size.
Read/write property ZoomScale The zoom amount as an absolute Scale (i.e., 1:20000).

Inherited Interfaces

Interfaces Description
IMapSurround Provides access to members that control the map surround.

CoClasses that implement IMapInset

CoClasses and Classes Description
ImageInset A map surround for displaying an inset.
MapInset A map surround for displaying an inset.