|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IARMap
Provides access to members that control the ARMap.
| Method Summary | |
|---|---|
void |
centerAt(double xCoord,
double yCoord)
Moves the center of the map to the specified point. |
void |
centerAtBookmark(Object vBookmarkID)
Centers the map display on the bookmark. |
IARLayer |
getARLayer(int index)
The layer at the specified index. |
int |
getARLayerCount()
The number of layer in the map's layer collection. |
int |
getBookmarkCount()
The number of bookmarks in the map's bookmark collection. |
String |
getBookmarkName(int index)
The name of the bookmark. |
Object |
getCustomProperty()
A property to associate data with an object. |
String |
getDescription()
The description of the map. |
int |
getDistanceUnits()
The distance units of the map. |
void |
getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
The visible extent of the map. |
void |
getFullExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
The extent of all the data within the map. |
Object |
getInternalObject()
The internal ArcObjects IMap object. |
double |
getMapScale()
The scale of the map as a representative fraction. |
int |
getMapUnits()
The geographical units of the map. |
String |
getName()
The name of the map. |
double |
getReferenceScale()
The reference scale of the map as a representative fraction. |
double |
getRotation()
The number of degrees the map display is rotated. |
String |
getSpatialReferenceName()
The name of the map's spatial reference. |
boolean |
isCanRedoExtent()
Indicates if there is a map extent that can be redone. |
boolean |
isCanUndoExtent()
Indicates if there is a map extent that can be undone. |
void |
pan(int direction,
double screenPercentage)
Pans the map by a factor in a specified direction. |
IARFeatureSet |
queryARFeatures(IARSearchDef pSearchDef)
Searches the map using a search definition and returns an ARFeatureSet. |
void |
redoExtent()
Redo the next map extent in the stack. |
void |
refresh(boolean refreshNow)
Redraws the map display area. |
IARFeatureCursor |
searchARFeatures(IARSearchDef pSearchDef)
Searches the map using a search definition and returns an ARFeatureCursor. |
void |
setCustomProperty(Object pVal)
A property to associate data with an object. |
void |
setExtent(double xMin,
double yMin,
double xMax,
double yMax)
Sets the visible extent of the map. |
void |
setMapScale(double mapScale)
The scale of the map as a representative fraction. |
void |
setRotation(double mapRotation)
The number of degrees the map display is rotated. |
void |
toMapPoint(int x,
int y,
double[] xCoord,
double[] yCoord)
Converts a point in device coordinates (typically pixels) to coordinates in map units. |
void |
undoExtent()
Undo to the previous map extent in the stack. |
void |
zoomIn(double factor)
Zooms in on the map by a factor. |
void |
zoomOut(double factor)
Zooms out on the map by a factor. |
void |
zoomToBookmark(Object vBookmarkID)
Zooms the map display to the bookmark. |
void |
zoomToFullExtent()
Zoom to the full extent of all data within the map. |
| Method Detail |
|---|
void setMapScale(double mapScale)
throws IOException,
AutomationException
mapScale - The mapScale (in)
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.
void refresh(boolean refreshNow)
throws IOException,
AutomationException
refreshNow - The refreshNow (in, optional, pass false if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getARLayerCount()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IARLayer getARLayer(int index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getDescription()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getSpatialReferenceName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getMapUnits()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getDistanceUnits()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setExtent(double xMin,
double yMin,
double xMax,
double yMax)
throws IOException,
AutomationException
xMin - The xMin (in)yMin - The yMin (in)xMax - The xMax (in)yMax - The yMax (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
throws IOException,
AutomationException
xMin - The xMin (in/out: use single element array)yMin - The yMin (in/out: use single element array)xMax - The xMax (in/out: use single element array)yMax - The yMax (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void getFullExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
throws IOException,
AutomationException
xMin - The xMin (in/out: use single element array)yMin - The yMin (in/out: use single element array)xMax - The xMax (in/out: use single element array)yMax - The yMax (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getReferenceScale()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void zoomIn(double factor)
throws IOException,
AutomationException
factor - The factor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void zoomOut(double factor)
throws IOException,
AutomationException
factor - The factor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void pan(int direction,
double screenPercentage)
throws IOException,
AutomationException
direction - A com.esri.arcgis.controls.esriARDirection constant (in)screenPercentage - The screenPercentage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void centerAt(double xCoord,
double yCoord)
throws IOException,
AutomationException
xCoord - The xCoord (in)yCoord - The yCoord (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setRotation(double mapRotation)
throws IOException,
AutomationException
mapRotation - The mapRotation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getRotation()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IARFeatureSet queryARFeatures(IARSearchDef pSearchDef)
throws IOException,
AutomationException
pSearchDef - A reference to a com.esri.arcgis.controls.IARSearchDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void toMapPoint(int x,
int y,
double[] xCoord,
double[] yCoord)
throws IOException,
AutomationException
x - The x (in)y - The y (in)xCoord - The xCoord (in/out: use single element array)yCoord - The yCoord (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isCanUndoExtent()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void undoExtent()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isCanRedoExtent()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void redoExtent()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Object getInternalObject()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getBookmarkCount()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getBookmarkName(int index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void zoomToBookmark(Object vBookmarkID)
throws IOException,
AutomationException
vBookmarkID - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void centerAtBookmark(Object vBookmarkID)
throws IOException,
AutomationException
vBookmarkID - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void zoomToFullExtent()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Object getCustomProperty()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setCustomProperty(Object pVal)
throws IOException,
AutomationException
pVal - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IARFeatureCursor searchARFeatures(IARSearchDef pSearchDef)
throws IOException,
AutomationException
pSearchDef - A reference to a com.esri.arcgis.controls.IARSearchDef (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 | ||||||||