|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapImage
Provides access to the Map Image Interface.
The MapImage coclass is a subclass of ImageResult and will inherit all IImageResult properties.
Use IMapImage to access properties of an ExportMapImage result.
Method Summary | |
---|---|
IEnvelope |
getMapExtent()
The geographic extent of the map that is fitted to the height and width of the generated image. |
double |
getMapScale()
The scale of the generated map image. |
ILongArray |
getVisibleLayers()
Array of the visible layers drawn for the generated map scale. |
Methods inherited from interface com.esri.arcgis.carto.IImageResult |
---|
getHeight, getMimeData, getReferenceDPI, getURL, getWidth |
Method Detail |
---|
IEnvelope getMapExtent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILongArray getVisibleLayers() throws IOException, AutomationException
VisibleLayers is defined by a combination of layer visibility in the TOC (i.e. is the layer "on"?) and layer visibility dependent on map scale. Scale dependency for a layer is set in the original map document. If the layer is scale dependent (i.e. a maximum and/or minimum scale has been set) and the map scale falls out of this range, layer visibility will be false. Do not confuse this property with the visibility property on ILayerDescription which is based solely on layer visibility in the TOC (is the layer "on" or "off"). The IMapImage interface inherits all IImageResult properties.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMapScale() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |