|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to members that control the annotation class.
The IAnnoClass interface is mainly for getting properties of an annotation feature class. For example, use the IAnnoClass interface to view the reference scale and symbols associated with it. You can also draw individual annotation features using this interface.
IFeatureClass,
IAnnoClassAdmin3,
IAnnotationClassExtension| Method Summary | |
void |
draw(IAnnotationFeature annoFeature,
IDisplay display,
ISymbol symbol)
Draws the given annotation feature. |
IAnnotateLayerPropertiesCollection |
getAnnoProperties()
The labeling properties annotation classes. |
int |
getElementFieldIndex()
The element field index. |
IFeatureClass |
getFeatureClass()
The feature class. |
int |
getFeatureIDFieldIndex()
The feature ID field index. |
double |
getReferenceScale()
The reference scale. |
int |
getReferenceScaleUnits()
The units of the reference scale. |
ISymbol |
getSymbol(int symbolID)
The symbol associated with the given ID. |
ISymbolCollection |
getSymbolCollection()
The symbol collection. |
short |
getVersion()
The version of the annotation class. |
| Method Detail |
public IFeatureClass getFeatureClass()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAnnotateLayerPropertiesCollection getAnnoProperties()
throws java.io.IOException,
AutomationException
Returns Nothing if no labeling properties set. This occurs when the annotation feature class is created by converting labels to annotation or when created as an annotation target containing graphics.
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSymbol(int symbolID)
throws java.io.IOException,
AutomationException
symbolID - The symbolID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getReferenceScale()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getReferenceScaleUnits()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbolCollection getSymbolCollection()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getVersion()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IAnnotationFeature annoFeature,
IDisplay display,
ISymbol symbol)
throws java.io.IOException,
AutomationException
annoFeature - A reference to a com.esri.arcgis.carto.IAnnotationFeature (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getElementFieldIndex()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFeatureIDFieldIndex()
throws java.io.IOException,
AutomationException
java.io.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 | |||||||||