←Select platform

Serialize Method

Summary

Serializes the ending style to an XML document.

Syntax
C#
C++/CLI
Python
public override XmlNode Serialize( 
   AnnSerializeOptions options, 
   XmlNode parentNode, 
   XmlDocument document, 
   string elementName 
) 
public:  
   virtual XmlNode^ Serialize( 
      AnnSerializeOptions^ options, 
      XmlNode^ parentNode, 
      XmlDocument^ document, 
      String^ elementName 
   ) override 
def Serialize(self,options,parentNode,document,elementName): 

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 that the inherited types should write their properties to.

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 Implement User-Defined Objects With LEADTOOLS Annotations.

Requirements

Target Platforms

Help Version 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.