function Leadtools.Annotations.Core.AnnObject.serialize( options , parentNode , document )
Parameter | Type | Description |
---|---|---|
options | AnnSerializeOptions | Serialize options |
parentNode | XmlNode | The parent node into which the object's data will be saved. |
document | XmlDocument | The xml document that will contain the object's data. |
Serialize is called by the framework when the state of this object is to be saved. The object must then use the XML document and parent node to add all of the properties that needed to be serialized.
Deserialize is called by the framework when the state of this object is to be loaded. The object must then use the XML document and node to read all the properties previously saved.