User (Legacy) Posted July 29, 2004 Report Share Posted July 29, 2004 If I set the tag on an annotation object to an integer, export and then import, the tag comes back as an undefined value. I am using FileMask.Extensions and exporting FileFormat.Binary to a memory stream. Other object attributes seem fine. Link to comment Share on other sites More sharing options...
Software FX Posted July 30, 2004 Report Share Posted July 30, 2004 This is by design. Since the Tag is an object that can be anything, we can not serialize it. What are you using the Tag for ? -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted August 2, 2004 Author Report Share Posted August 2, 2004 The documentation says the tag value must be an integer, although it seems to handle strings and probably other objects as well. If it was an integer, it should be serializable. I am using the tag to associate annotation objects with a particular series on the chart, so when I serialize the annotations I would like to remember which series they came from. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.