| 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. |