|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapDescription
Provides access to the available properties of a map description object.
Method Summary | |
---|---|
IGraphicElements |
getCustomGraphics()
Custom graphics. |
ILayerDescriptions |
getLayerDescriptions()
A collection of Layer Description objects, each describing a layer within the map (data frame). |
IMapArea |
getMapArea()
The display area of the map (data frame). |
double |
getMapRotation()
The angle/rotation of the map (data frame) in degrees, measured anti-clockwise. |
String |
getName()
The name of the map (data frame). |
IColor |
getSelectionColor()
The default selection color. |
ISpatialReference |
getSpatialReference()
The spatial reference of the map (data frame). |
IColor |
getTransparentColor()
The color that is transparent (100 %). |
void |
setCustomGraphics(IGraphicElements elements)
Custom graphics. |
void |
setLayerDescriptions(ILayerDescriptions layerDescriptions)
A collection of Layer Description objects, each describing a layer within the map (data frame). |
void |
setMapArea(IMapArea area)
The display area of the map (data frame). |
void |
setMapRotation(double angleDegrees)
The angle/rotation of the map (data frame) in degrees, measured anti-clockwise. |
void |
setName(String name)
The name of the map (data frame). |
void |
setSelectionColor(IColor color)
The default selection color. |
void |
setSpatialReferenceByRef(ISpatialReference spatialReference)
The spatial reference of the map (data frame). |
void |
setTransparentColor(IColor color)
The color that is transparent (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.IMapArea getMapArea() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMapArea(IMapArea area) throws IOException, AutomationException
area
- A reference to a com.esri.arcgis.carto.IMapArea (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILayerDescriptions getLayerDescriptions() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLayerDescriptions(ILayerDescriptions layerDescriptions) throws IOException, AutomationException
layerDescriptions
- A reference to a com.esri.arcgis.carto.ILayerDescriptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMapRotation() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMapRotation(double angleDegrees) throws IOException, AutomationException
angleDegrees
- The angleDegrees (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.IGraphicElements getCustomGraphics() throws IOException, AutomationException
Use CustomGraphics to display text or geometric shapes on the map. When interacting with the display of labels, CustomGraphics will honor the Feature Weight value for the default graphics layer set in the Label Weight Ranking dialog in the map document. A setting of High, the ArcMap default, will result in labels not drawing within the bounds of the custom graphics. If the Feature Weight for the default graphics layer is None, Low or Medium labels will draw within the bounds of the custom graphics. With None, all labels should display. With Low or Medium, the amount of labels that draw may vary.
Please note that the optimized MapServer only supports the esriSFSSolid style of ISimpleFillSymbol. For other types of fills, use other fill symbol types such as ILineSymbol. For hollow symbols, you should use IColor::NullColor with esriSFSSolid instead of using the esriSFSNull style.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCustomGraphics(IGraphicElements elements) throws IOException, AutomationException
elements
- A reference to a com.esri.arcgis.carto.IGraphicElements (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.IColor getSelectionColor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSelectionColor(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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |