com.esri.arcgis.carto
Interface IACMap

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ACMap, IACMapProxy

public interface IACMap
extends java.io.Serializable

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

Description: 'Provides access to mebers that control the ArcIMS map service.' 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 IID74e45210_dfe6_11d3_9ff7_00c04f6bc6a5
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IEnvelope getAreaOfInterest()
          The area of interest for the ArcIMS service.
 IColor getBackgroundColor()
          The background color.
 java.lang.String getImageRequestXml(IEnvelope pExtent, double dpi, int width, int height, boolean scaleSymbols)
          The xml to request an image.
 IACLayer getLayer(int index)
          The layer at the given index.
 int getLayerCount()
          The number of layers in the ArcIMS service.
 int getMapUnits()
          The map units for the ArcIMS service.
 int getMaxPrintPixels()
          The maximum number of pixels allowed for an image print request.
 ISpatialReference getNativeSpatialReference()
          The native spatial reference of the data.
 IColor getTransparentColor()
          The transparent color.
 void moveLayer(IACLayer layer, int toIndex)
          Moves a layer to another position.
 java.lang.String requestImage(IEnvelope pExtent, double dpi, int width, int height, boolean scaleSymbols)
          The new image location as an URL.
 java.lang.String requestImageWithXml(java.lang.String xml)
          The new image location as an URL.
 java.lang.String sendAxlQueryRequest(java.lang.String axl, ITrackCancel trackCancel, boolean showConnectingAVI, boolean processMessages)
          Sends an Axl query request.
 java.lang.String sendAxlRequest(java.lang.String axl, ITrackCancel trackCancel, boolean showConnectingAVI, boolean processMessages)
          Sends an Axl request.
 void setBackgroundColor(IColor color)
          The background color.
 void setSpatialReferenceByRef(ISpatialReference rhs1)
          The spatial reference of the ArcIMS service.
 void setTransparentColor(IColor color)
          The transparent color.
 

Field Detail

IID74e45210_dfe6_11d3_9ff7_00c04f6bc6a5

static final int IID74e45210_dfe6_11d3_9ff7_00c04f6bc6a5
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

sendAxlRequest

java.lang.String sendAxlRequest(java.lang.String axl,
                                ITrackCancel trackCancel,
                                boolean showConnectingAVI,
                                boolean processMessages)
                                throws java.io.IOException,
                                       AutomationException
Sends an Axl request.

Parameters:
axl - The axl (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
showConnectingAVI - The showConnectingAVI (in)
processMessages - The processMessages (in)
Returns:
The response
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sendAxlQueryRequest

java.lang.String sendAxlQueryRequest(java.lang.String axl,
                                     ITrackCancel trackCancel,
                                     boolean showConnectingAVI,
                                     boolean processMessages)
                                     throws java.io.IOException,
                                            AutomationException
Sends an Axl query request.

Parameters:
axl - The axl (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
showConnectingAVI - The showConnectingAVI (in)
processMessages - The processMessages (in)
Returns:
The response
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBackgroundColor

IColor getBackgroundColor()
                          throws java.io.IOException,
                                 AutomationException
The background color.

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

setBackgroundColor

void setBackgroundColor(IColor color)
                        throws java.io.IOException,
                               AutomationException
The background color.

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

getTransparentColor

IColor getTransparentColor()
                           throws java.io.IOException,
                                  AutomationException
The transparent color.

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

setTransparentColor

void setTransparentColor(IColor color)
                         throws java.io.IOException,
                                AutomationException
The transparent color.

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

requestImage

java.lang.String requestImage(IEnvelope pExtent,
                              double dpi,
                              int width,
                              int height,
                              boolean scaleSymbols)
                              throws java.io.IOException,
                                     AutomationException
The new image location as an URL.

Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
dpi - The dpi (in)
width - The width (in)
height - The height (in)
scaleSymbols - The scaleSymbols (in)
Returns:
The imageURL
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

requestImageWithXml

java.lang.String requestImageWithXml(java.lang.String xml)
                                     throws java.io.IOException,
                                            AutomationException
The new image location as an URL. Call ImageRequestXml first.

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

getImageRequestXml

java.lang.String getImageRequestXml(IEnvelope pExtent,
                                    double dpi,
                                    int width,
                                    int height,
                                    boolean scaleSymbols)
                                    throws java.io.IOException,
                                           AutomationException
The xml to request an image.

Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
dpi - The dpi (in)
width - The width (in)
height - The height (in)
scaleSymbols - The scaleSymbols (in)
Returns:
The xml
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerCount

int getLayerCount()
                  throws java.io.IOException,
                         AutomationException
The number of layers in the ArcIMS service.

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

getLayer

IACLayer getLayer(int index)
                  throws java.io.IOException,
                         AutomationException
The layer at the given index.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.IACLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveLayer

void moveLayer(IACLayer layer,
               int toIndex)
               throws java.io.IOException,
                      AutomationException
Moves a layer to another position.

Parameters:
layer - A reference to a com.esri.arcgis.carto.IACLayer (in)
toIndex - The toIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

void setSpatialReferenceByRef(ISpatialReference rhs1)
                              throws java.io.IOException,
                                     AutomationException
The spatial reference of the ArcIMS service.

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

getNativeSpatialReference

ISpatialReference getNativeSpatialReference()
                                            throws java.io.IOException,
                                                   AutomationException
The native spatial reference of the data.

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

getAreaOfInterest

IEnvelope getAreaOfInterest()
                            throws java.io.IOException,
                                   AutomationException
The area of interest for the ArcIMS service.

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.

getMapUnits

int getMapUnits()
                throws java.io.IOException,
                       AutomationException
The map units for the ArcIMS service.

Returns:
A com.esri.arcgis.gisclient.acMapUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxPrintPixels

int getMaxPrintPixels()
                      throws java.io.IOException,
                             AutomationException
The maximum number of pixels allowed for an image print request.

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