how to get the id of a group of shapes?

Apr 27, 2015 at 8:58 PM
hi. First thank you very much for the framework, is serving me very much.

I have a recorded diagram. And clicking on an object group (group already done of shapes) I need to retrieve the id of that group.
For example I use:
and returns me null.
"display_NShape" is my display Nshape where are the objects.

Is this the correct way? or is there another way to get this ID?

thank you!
Apr 28, 2015 at 3:11 PM

the Shapes's Id property is null/Nothing as long as the repository has not been saved.
If you need to identify your shapes you could assign your own id and store it in
  • the Shape.Tag property (will NOT be persisted)
  • the Shape.Data property (a string property, will be persisted)
Hope this helps.
Apr 28, 2015 at 6:46 PM
Edited Apr 28, 2015 at 6:47 PM
Thank you very much. just use the .Data field. Now that you confirm me that I can use I stay calmer.
Greetings !!