Raised when the Tag of a diagram item must be serialized into an XML document.
JavaScript Copy Code |
---|
function onSerializeTag (sender, args) |
SerializeTag handlers receive an event object of type SerializeTagEventArgs.
Only tags of simple value types can be saved and loaded automatically to/from the XML document. You must provide your own serialization for complex types by implementing this event and DeserializeTag.
To handle the SerializeTag event, assign the name of the respective JavaScript function (for example 'onSerializeTag') to the SerializeTagScript property.