com.esri.arcgis.carto
Interface IMapInset

All Superinterfaces:
IMapSurround, java.io.Serializable
All Known Implementing Classes:
ImageInset, IMapInsetProxy, MapInset

public interface IMapInset
extends IMapSurround, java.io.Serializable

COM Interface 'IMapInset'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the inset map surrounds.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID6dfae8f1_ecaa_11d0_8682_0000f8751720
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.carto.IMapSurround
IIDfe3115e9_ed6c_11d0_8683_0000f8751720
 
Method Summary
 void calculateVisibleBounds()
          Calculates the visible bounds by applying the zoom or scale parameter to MapBounds (used when snapshot is false).
 java.lang.String getDescription()
          Description reflecting the current settings of the MapInset.
 IEnvelope getMapBounds()
          The relative position of the inset to the associated map (used when the inset is live).
 IEnvelope getVisibleBounds()
          The map extent shown by the inset (used when the inset is not live).
 double getZoomPercent()
          Zoom amount as a percentage.
 double getZoomScale()
          The zoom amount as an absolute Scale (i.e., 1:20000).
 boolean isLive()
          Indicates if the inset shows a live view of the underlying map.
 boolean isUsingZoomScale()
          Indicates if ZoomScale or ZoomPercent is being used.
 void setIsLive(boolean isLive)
          Indicates if the inset shows a live view of the underlying map.
 void setMapBounds(IEnvelope bounds)
          The relative position of the inset to the associated map (used when the inset is live).
 void setVisibleBounds(IEnvelope visibleBounds)
          The map extent shown by the inset (used when the inset is not live).
 void setZoomPercent(double percent)
          Zoom amount as a percentage.
 void setZoomScale(double scale)
          The zoom amount as an absolute Scale (i.e., 1:20000).
 
Methods inherited from interface com.esri.arcgis.carto.IMapSurround
delayEvents, draw, fitToBounds, getIcon, getMap, getName, queryBounds, refresh, setMapByRef, setName
 

Field Detail

IID6dfae8f1_ecaa_11d0_8682_0000f8751720

static final int IID6dfae8f1_ecaa_11d0_8682_0000f8751720
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getMapBounds

IEnvelope getMapBounds()
                       throws java.io.IOException,
                              AutomationException
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.

Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapBounds

void setMapBounds(IEnvelope bounds)
                  throws java.io.IOException,
                         AutomationException
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.

Parameters:
bounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVisibleBounds

IEnvelope getVisibleBounds()
                           throws java.io.IOException,
                                  AutomationException
The map extent shown by the inset (used when the inset is not live).

Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVisibleBounds

void setVisibleBounds(IEnvelope visibleBounds)
                      throws java.io.IOException,
                             AutomationException
The map extent shown by the inset (used when the inset is not live).

Parameters:
visibleBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLive

boolean isLive()
               throws java.io.IOException,
                      AutomationException
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.

Returns:
The isLive
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsLive

void setIsLive(boolean isLive)
               throws java.io.IOException,
                      AutomationException
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.

Parameters:
isLive - The isLive (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUsingZoomScale

boolean isUsingZoomScale()
                         throws java.io.IOException,
                                AutomationException
Indicates if ZoomScale or ZoomPercent is being used. The one specified last is being used.

Returns:
The usingZoomScale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZoomPercent

double getZoomPercent()
                      throws java.io.IOException,
                             AutomationException
Zoom amount as a percentage. 100 means show the underlying map at normal size.

Returns:
The percent
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZoomPercent

void setZoomPercent(double percent)
                    throws java.io.IOException,
                           AutomationException
Zoom amount as a percentage. 100 means show the underlying map at normal size.

Parameters:
percent - The percent (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZoomScale

double getZoomScale()
                    throws java.io.IOException,
                           AutomationException
The zoom amount as an absolute Scale (i.e., 1:20000).

Returns:
The scale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZoomScale

void setZoomScale(double scale)
                  throws java.io.IOException,
                         AutomationException
The zoom amount as an absolute Scale (i.e., 1:20000).

Parameters:
scale - The scale (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
Description reflecting the current settings of the MapInset.

Returns:
The title
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calculateVisibleBounds

void calculateVisibleBounds()
                            throws java.io.IOException,
                                   AutomationException
Calculates the visible bounds by applying the zoom or scale parameter to MapBounds (used when snapshot is false).

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.