Group annotations

Discussions about annotation support.
Post Reply
goldrian
Posts: 22
Joined: Fri Jun 03, 2011 7:57 pm

Group annotations

Post by goldrian » Thu Jun 16, 2022 5:07 pm

Hi!

I need to create grouped annotations, like a cross formed by two lines.

I can create a cross by drawing two single lines, but then the two lines are selected and edited individually.
Is there a way to group them?

(I have to create also more complex things, like arrows + circles + rectangles)

Or is there a way to create a custom annotation, or override the edit methods?

Thanks!

Hugo
Posts: 181
Joined: Tue Dec 18, 2018 10:09 am

Re: Group annotations

Post by Hugo » Mon Jun 20, 2022 4:44 pm

Hi Goldrian,

Thank you for your question.

To group annotations you may want to create an entirely new annotation using the following method:
https://www.gdpicture.com/guides/gdpict ... Annot.html
https://www.gdpicture.com/guides/gdpict ... nt_EV.html

This would be the expected approach you should take.

Regards,
Hugo Cudd
Technical Support

goldrian
Posts: 22
Joined: Fri Jun 03, 2011 7:57 pm

Re: Group annotations

Post by goldrian » Wed Jun 22, 2022 4:03 pm

I'd like to create CustomAnnotations but, to do so, I have to drop the Wpf version and encapsulate the Form version in a WindowsFormHost.
That's not my favorite solution, I have a bad experience of WIndowsFormHost, but since it's the only one I'm trying to stick to this.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests