Select to view content in your preferred language

Accessing Annotation Classes in a Feature Class

1251
0
06-09-2016 01:57 PM
DaleShearer
Frequent Contributor

Thanks for looking at my question.  I have several SDE Feature Classes that are set up with Annotation Classes, Subtypes, Feature Extents, etc.  I need to re-create these and I want to do it in code, instead of by going and doing one at a time.

I have a form where I can select enter a new Feature Class name, and I can create a new Feature Class.  Now what I want to is to copy all of the Feature Class Properties from an existing Feature Class into this new feature class during this process.

I am trying to get access to all of the properties, mainly the Annotation Classes and the Expressions that they contain.

I have went through IAnnotateLayerPropertiesCollection, IAnnotateLayerProperites, IAnnoClass, anything that was related to Annotation Properties.

My questions are:  can this be done in code, and I am looking at the correct interfaces to do it.

Thank you for your time.  Dale,

0 Kudos
0 Replies