|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapDescriptor
Provides access to the available properties of a map descriptor object.
Method Summary | |
---|---|
void |
addMapSurround(IMapSurround surround,
int xPixelOrigin,
int yPixelOrigin,
int anchorPoint)
Call this multiple times to place surrounds on the surface of the map. |
void |
addPixelGraphic(IElement graphic)
Call this multiple times to place graphics in pixel space on the map above Custom Graphics and Map Surrounds. |
void |
clearMapSurrounds()
Remove all surrounds from the map. |
void |
clearPixelGraphics()
Remove all pixel graphics from the map. |
double |
getAngle()
The angle/rotation of the map in degrees, measured anti-clockwise. |
IColor |
getBackgroundColor()
The background color of the map. |
IArray |
getCustomGraphics()
Custom graphics of the map. |
IEnvelope |
getExtent()
The current extent of the map. |
IEnvelope |
getFullExtent()
The full extent of the map. |
IGeometryCollection |
getLabelBarriers()
The barriers used for labeling. |
Object |
getLayerOrder()
The layer order for the map. |
IArray |
getLayers()
The layer descriptors of the map. |
IPoint |
getMapCenter()
The center of the map. |
double |
getMapScale()
The scale of the map. |
String |
getName()
The name of the map. |
ISpatialReference |
getSpatialReference()
The spatial reference of the map. |
IColor |
getTransparentColor()
The color used for transparency (100 %). |
boolean |
isKeepAspectRatio()
Indicates whether of not to maintain the aspect ratio. |
void |
setAngle(double angleDegrees)
The angle/rotation of the map in degrees, measured anti-clockwise. |
void |
setBackgroundColor(IColor color)
The background color of the map. |
void |
setCustomGraphics(IArray elements)
Custom graphics of the map. |
void |
setExtent(IEnvelope extent)
The current extent of the map. |
void |
setFullExtent(IEnvelope extent)
The full extent of the map. |
void |
setKeepAspectRatio(boolean keep)
Indicates whether of not to maintain the aspect ratio. |
void |
setLabelBarriers(IGeometryCollection barriers)
The barriers used for labeling. |
void |
setLayerOrder(Object layerIds)
The layer order for the map. |
void |
setLayers(IArray layerDescriptors)
The layer descriptors of the map. |
void |
setMapCenter(IPoint center)
The center of the map. |
void |
setMapScale(double mapScale)
The scale of the map. |
void |
setName(String name)
The name of the map. |
void |
setSpatialReferenceByRef(ISpatialReference spatialReference)
The spatial reference of the map. |
void |
setTransparentColor(IColor color)
The color used for transparency (100 %). |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setName(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getFullExtent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFullExtent(IEnvelope extent) throws IOException, AutomationException
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.IEnvelope getExtent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExtent(IEnvelope extent) throws IOException, AutomationException
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.ISpatialReference getSpatialReference() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSpatialReferenceByRef(ISpatialReference spatialReference) throws IOException, AutomationException
spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAngle() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAngle(double angleDegrees) throws IOException, AutomationException
angleDegrees
- The angleDegrees (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getLayers() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLayers(IArray layerDescriptors) throws IOException, AutomationException
layerDescriptors
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getLayerOrder() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLayerOrder(Object layerIds) throws IOException, AutomationException
layerIds
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getCustomGraphics() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCustomGraphics(IArray elements) throws IOException, AutomationException
elements
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometryCollection getLabelBarriers() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLabelBarriers(IGeometryCollection barriers) throws IOException, AutomationException
barriers
- A reference to a com.esri.arcgis.geometry.IGeometryCollection (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 setMapScale(double mapScale) throws IOException, AutomationException
mapScale
- The mapScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getMapCenter() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMapCenter(IPoint center) throws IOException, AutomationException
center
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isKeepAspectRatio() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setKeepAspectRatio(boolean keep) throws IOException, AutomationException
keep
- The keep (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getBackgroundColor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackgroundColor(IColor color) throws IOException, AutomationException
color
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getTransparentColor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTransparentColor(IColor color) throws IOException, AutomationException
color
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addMapSurround(IMapSurround surround, int xPixelOrigin, int yPixelOrigin, int anchorPoint) throws IOException, AutomationException
surround
- A reference to a com.esri.arcgis.carto.IMapSurround (in)xPixelOrigin
- The xPixelOrigin (in)yPixelOrigin
- The yPixelOrigin (in)anchorPoint
- A com.esri.arcgis.carto.esriAnchorPointEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearMapSurrounds() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addPixelGraphic(IElement graphic) throws IOException, AutomationException
graphic
- A reference to a com.esri.arcgis.carto.IElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearPixelGraphics() 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 |