Customer Service | Training | Contact Us
You are here: Home > User Forums > arcgis desktop discussion forums > Thread Replies

ArcGIS Desktop Discussion Forums

ArcGIS Desktop - ArcObjects General forum

Map annotation to Feature Linked annotation   R O Aug 17, 2005
Re: Map annotation to Feature Linked annota...   Steve Dunbar Jun 02, 2008
Report Inappropriate Content • Top • Print • Reply    
Subject Map annotation to Feature Linked annotation 
Author R O 
Date Aug 17, 2005 
Message Hi all,
I have a map that has map annotation - not linked to a layer in the . Street names ontop of a geodatabase streets layer.

I want to convert the map annotation to a feature linked anno layer (linked to streets of course).

I'm racking my brain, I can pull out the map annotation through IGraphicsContainer, and loop through each IElement an ITextElement. Here I can get Text, Symbol, angle, X, Y.

I've also been looking at the sample that converts Labels to a Feature Linked annotation Layer.

But here I'm stuck, I can't figure out how get these text elements into any form that can get me close to a feature linked annotation layer. I think I have to add my text elements to an IElementCollection, but how to link it I'm stuck.

The map annotation is perfect the way it is right now (the way it looks), but I need to find a way to convert it to a feature linked anno class. Any direction on this problem would be appreciated. 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Map annotation to Feature Linked annotation 
Author Steve Dunbar 
Date Jun 02, 2008 
Message I know it has been a few years now since you posted this, but I'm wondering if you solved your problem...if so, I'm wondering what you came up with. I'm facing a very large conversion of 3.8 million un-linked annotation features that need to become feature linked.

Thanks,