|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMxdServerQuery
Provides access to functionality that allows the client to query features on the map.
Method Summary | |
---|---|
double |
computeDistance(String mapName,
IPoint fromPoint,
IPoint toPoint)
Computes the distance between two points on the specified map. |
double |
computeScale(String mapName,
int imageWidthPixels,
IEnvelope extent)
Computes the scale of the specified map, at the given map extent, for an image with the given width, specified in pixels. |
IArray |
find(String mapName,
String findString,
int layerID)
Returns an array of 'find objects' (that implement the IFindObject interface) that contain the given search string. |
IArray |
getRelatedIdentifyObjects(String mapName,
IIdentifyObj identifyObject)
An array of 'identify objects' that are related to the specified identify object. |
IArray |
identify(String mapName,
int layerID,
IGeometry shape)
Returns an array of 'identify objects' (that support the IIdentifyObj interface) at the given location. |
IFeatureCursor |
queryByLayer(String mapName,
int targetLayerID,
int selectionLayerID,
int selectionMethod,
boolean useSelected,
double bufferDistance,
int bufferDistanceUnits)
Returns a feature cursor for the specified layer based on the input parameters for the purpose of selecting based on another layer. |
IFeatureCursor |
queryFeatures(String mapName,
int layerID,
IArray queryFilters)
Returns a feature cursor for the specified layer based on the given array of query filters. |
Method Detail |
---|
IFeatureCursor queryFeatures(String mapName, int layerID, IArray queryFilters) throws IOException, AutomationException
mapName
- The mapName (in)layerID
- The layerID (in)queryFilters
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray identify(String mapName, int layerID, IGeometry shape) throws IOException, AutomationException
mapName
- The mapName (in)layerID
- The layerID (in)shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getRelatedIdentifyObjects(String mapName, IIdentifyObj identifyObject) throws IOException, AutomationException
mapName
- The mapName (in)identifyObject
- A reference to a com.esri.arcgis.carto.IIdentifyObj (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double computeScale(String mapName, int imageWidthPixels, IEnvelope extent) throws IOException, AutomationException
mapName
- The mapName (in)imageWidthPixels
- The imageWidthPixels (in)extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double computeDistance(String mapName, IPoint fromPoint, IPoint toPoint) throws IOException, AutomationException
mapName
- The mapName (in)fromPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)toPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray find(String mapName, String findString, int layerID) throws IOException, AutomationException
mapName
- The mapName (in)findString
- The findString (in)layerID
- The layerID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFeatureCursor queryByLayer(String mapName, int targetLayerID, int selectionLayerID, int selectionMethod, boolean useSelected, double bufferDistance, int bufferDistanceUnits) throws IOException, AutomationException
mapName
- The mapName (in)targetLayerID
- The targetLayerID (in)selectionLayerID
- The selectionLayerID (in)selectionMethod
- A com.esri.arcgis.carto.esriLayerSelectionMethod constant (in)useSelected
- The useSelected (in)bufferDistance
- The bufferDistance (in)bufferDistanceUnits
- A com.esri.arcgis.system.esriUnits constant (in)
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 |