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.
| Description | ||
|---|---|---|
![]() |
AnnoProperties | The labeling properties annotation classes. |
![]() |
Draw | Draws the given annotation feature. |
![]() |
ElementFieldIndex | The element field index. |
![]() |
FeatureClass | The feature class. |
![]() |
FeatureIDFieldIndex | The feature ID field index. |
![]() |
ReferenceScale | The reference scale. |
![]() |
ReferenceScaleUnits | The units of the reference scale. |
![]() |
Symbol | The symbol associated with the given ID. |
![]() |
SymbolCollection | The symbol collection. |
![]() |
Version | The version of the annotation class. |
| CoClasses and Classes | Description |
|---|---|
| AnnotationFeatureClassExtension | An ESRI annotation feature class extension. |
The following example is a code excerpt that shows how to get a reference to an IAnnoClass interface with Visual Basic.
This example assumes that you already have an IFeatureClass (fC) set to a valid annotation feature class
Dim fL As IFeatureLayer
Set fL = New FeatureLayer
Set fL.FeatureClass = fC
'QI (Query Interface) for IAnnoClass
Dim pAnnoClass As IAnnoClass
Set pAnnoClass = fL.FeatureClass.Extension
MsgBox pAnnoClass.ReferenceScaleUnits
IFeatureClass Interface | IAnnoClassAdmin3 Interface | IAnnotationClassExtension Interface