Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

ArcObjects 10.0, SDE on MS Sql Server, Visual Studio 2010, C#.Net

Using ArcObjects, I am able to add feature classes to the map with no problem. However, when adding an annotation feature class to the map, the layer appears with the red exclamation point, which indicates that it is not valid.

Can someone provide some code that shows how to properly add an annotation feature class to a map?

Thanks in advance.

share|improve this question

1 Answer 1

Well, the problem was not the ArcObjects, it was the underlying data. At least in my case, there is no need to treat the annotation feature class as anything special compared to adding a regular vector feature class.

share|improve this answer
1  
Unrelated to the question, but you might want to merge your accounts as it appears you have created two. –  blah238 Nov 1 '12 at 6:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.