serialize Method

Summary

Serializes the object to an XML document.

Syntax
TypeScript
JavaScript
AnnObject.prototype.serialize = function( 
   options, 
   parentNode, 
   document 
) 
serialize( 
   options: AnnSerializeOptions, 
   parentNode: Node, 
   document: Document 
): void; 

Parameters

options

Serialize options

parentNode

The parent node into which the object's data will be saved.

document

The XML document that will contain the object's data.

Remarks

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.

Requirements

Target Platforms

Help Version 23.0.2024.3.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.