|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAnnoClass
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.
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 |
---|
IFeatureClass getFeatureClass() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IAnnotateLayerPropertiesCollection getAnnoProperties() throws 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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISymbol getSymbol(int symbolID) throws IOException, AutomationException
symbolID
- The symbolID (in)
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.int getReferenceScaleUnits() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISymbolCollection getSymbolCollection() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getVersion() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void draw(IAnnotationFeature annoFeature, IDisplay display, ISymbol symbol) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getElementFieldIndex() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getFeatureIDFieldIndex() 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 |