Hi folks,
I have a series of call-outs where when the text shape is selected, I want to figure out the "parent" call-out shape.
It doesn't help that I tend to find CustomShapes a bit opaque as it is, but I can't seem to identify a way to get the parent. Any suggestions, or can I not get there from here?
Adjacent to that, is there a way to set the target on a Callout, or is that something handled internally by Designer? I like how the call-out connects to the shape, but it's something I can't seem to reproduce in my code.
Thanks in advance!
Replying to myself, I think I may have figured out a solution to this, though I'm not sure this is the cleanest.
With the text item in the call-out selected, I iterante through all the CustomShapes and check the location of their Custom.TextShape against my selection. If the positions match then I consider that I have my candidate.