serialize Method

Summary

Serializes the ending style to an XML document.

Syntax
TypeScript
JavaScript
AnnArrowLineEnding.prototype.serialize = function( 
   options, 
   parentNode, 
   document, 
   elementName 
) 
serialize( 
   options: AnnSerializeOptions, 
   parentNode: Node, 
   document: Document, 
   elementName: string 
): Node; 

Parameters

options

Serialize options.

parentNode

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

document

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

elementName

The style name that will be saved to the XML document.

Return Value

The node into which the inherited types should write their properties.

Remarks

Serialize is called by the framework when the state of this style is to be saved. The style must then use the XML document and parent node to add all the properties that need to be serialized.

Deserialize is called by the framework when the state of this style is to be loaded. The style must then use the XML document and node to read all the properties previously saved.

For more information, refer to Implementing User-Defined Objects With LEADTOOLS Annotations.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly