Hi, I have a label (associated with a shape) which I give a name. I'd like to attach more than one integer to the label, each having a specific purpose of course, and I'd like to have a name associated with the integer so I can retrieve it by name later.
This is how I put a name for the label:
and this would be how to add an integer (with value of 12 as example), but it appear that the label only accept one integer attribute and I cannot give this integer a name:
Handle(TDataStd_Integer) intImage = TDataStd_Integer::Set(aLabel, 12);
TDataStd_Name::Set(intImage, "image"); //this does not work..