This document is archived and information here might be outdated.  Recommended version.


IAnnoClassAdmin2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnoClassAdmin2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IAnnoClassAdmin2 Interface

Provides access to members that control the annotation class admin interface. Note: the IAnnoClassAdmin2 interface has been superseded byIAnnoClassAdmin3. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

The IAnnoClassAdmin2 interface is used to modify the feature class extension properties of an annotation feature class.

Members

Name Description
Write-only property AnnoProperties The labeling properties annotation class.
Read/write property AutoCreate Indicates if an annotation is to be automatically created when a feature is created.
Write-only property ReferenceScale The reference scale.
Write-only property ReferenceScaleUnits The units of the reference scale.
Write-only property SymbolCollection The symbol collection.
Read/write property UpdateOnShapeChange Indicates if an annotation is to be automatically recreated when a feature's shape is changed.
Method UpdateProperties Updates the property set.

CoClasses that implement IAnnoClassAdmin2

CoClasses and Classes Description
AnnotationFeatureClassExtension An Esri annotation feature class extension.

Remarks

In a versioned geodatabase, these properties apply to all versions and are not versioned. After creating an annotation feature class, modifying these properties may cause problems with the drawing and selection of annotation features. Adding new symbols to the SymbolCollection or changing the AutoCreate and UpdateOnShapeChange properties are the only recommend modifications. Deleting or modifying symbols in the SymbolCollection requires updating all annotation features whose elements reference the group symbol. When adding new symbols to the SymbolCollection use the AddSymbol method of ISymbolCollection2, which will automatically assign a unique ID to the symbol. As with any schema related change, it is recommended that an exclusive schema lock be obtained before calling the UpdateProperties method.

IAnnoClassAdmin2 was added to include the UpdateOnShapeChange property for an AnnotationFeatureClassExtension. This property indicates whether or not an annotation feature is automatically recreated in response to a change in the geometry of its linked feature.

See IAnnoClassAdmin3 for more properties of the AnnotationFeatureClassExtension.

See Also

IAnnoClassAdmin Interface | IAnnotationFeature Interface