|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICoverageAnnotationLayer
Provides access to members that control a coverage annotation layer.
The ICoverageAnnotationLayer interface controls the display of coverage annotation. For example, use this interface to set the Symbol to display annotation with.
//This example assumes that you already have an IFeatureClass (fC) set to a valid
//coverage annotation feature class
//get CoverageAnnotationLayer
ICoverageAnnotationLayer pCovAnnoLayer = null;
// implements IFeatureLayer
pCovAnnoLayer = new CoverageAnnotationLayer();
IFeatureLayer fL = new IFeatureLayerProxy(pCovAnnoLayer);
fL.setFeatureClassByRef(fC);
System.out.println(pCovAnnoLayer.getLevelCount());
Method Summary | |
---|---|
IEnumElement |
generateGraphics(IEnvelope box,
IDisplay display)
Generates graphic elements from the annotation features. |
ILineSymbol |
getArrowSymbol()
The line symbol for the arrow. |
Font |
getFont(int symbolNumber)
The font for the specified symbol number. |
IColor |
getFontColor(int symbolNumber)
The font color for the specified symbol number. |
int |
getLevelCount()
The number of levels in the layer. |
int |
getLevelNumber(int index)
The level number at the specified index. |
IElement |
getNextGraphic()
Generates the next graphic element in the graphics generation loop. |
int |
getSymbolCount()
The number of symbols used by the layer. |
int |
getSymbolNumber(int index)
The symbol number at the specified index. |
ITextSymbol |
getTextSymbol(int symbolNumber)
The text symbol for the specified symbol number. |
boolean |
isLevelVisibility(int levelNumber)
Indicates if the level at the specified level number is visible. |
void |
nextFeatureAndGraphic(IFeature[] feature,
IElement[] element)
Generates the next feature and graphic element in the graphics generation loop. |
void |
setArrowSymbolByRef(ILineSymbol symbol)
The line symbol for the arrow. |
void |
setFontByRef(int symbolNumber,
Font font)
The font for the specified symbol number. |
void |
setFontColorByRef(int symbolNumber,
IColor color)
The font color for the specified symbol number. |
void |
setLevelVisibility(int levelNumber,
boolean visible)
Indicates if the level at the specified level number is visible. |
void |
setTextSymbolByRef(int symbolNumber,
ITextSymbol symbol)
The text symbol for the specified symbol number. |
void |
startGeneratingGraphics(IEnvelope box,
IDisplay display,
boolean withAttributes)
Starts a graphics generation process from the annotation features. |
Method Detail |
---|
int getSymbolCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSymbolNumber(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Font getFont(int symbolNumber) throws IOException, AutomationException
symbolNumber
- The symbolNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFontByRef(int symbolNumber, Font font) throws IOException, AutomationException
symbolNumber
- The symbolNumber (in)font
- A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getFontColor(int symbolNumber) throws IOException, AutomationException
symbolNumber
- The symbolNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFontColorByRef(int symbolNumber, IColor color) throws IOException, AutomationException
symbolNumber
- The symbolNumber (in)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.ITextSymbol getTextSymbol(int symbolNumber) throws IOException, AutomationException
symbolNumber
- The symbolNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTextSymbolByRef(int symbolNumber, ITextSymbol symbol) throws IOException, AutomationException
symbolNumber
- The symbolNumber (in)symbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLevelCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLevelNumber(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isLevelVisibility(int levelNumber) throws IOException, AutomationException
levelNumber
- The levelNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLevelVisibility(int levelNumber, boolean visible) throws IOException, AutomationException
levelNumber
- The levelNumber (in)visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILineSymbol getArrowSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setArrowSymbolByRef(ILineSymbol symbol) throws IOException, AutomationException
symbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumElement generateGraphics(IEnvelope box, IDisplay display) throws IOException, AutomationException
box
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void startGeneratingGraphics(IEnvelope box, IDisplay display, boolean withAttributes) throws IOException, AutomationException
box
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)withAttributes
- The withAttributes (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IElement getNextGraphic() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void nextFeatureAndGraphic(IFeature[] feature, IElement[] element) throws IOException, AutomationException
feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (out: use single element array)element
- A reference to a com.esri.arcgis.carto.IElement (out: use single element array)
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 |