←Select platform

Serialize Method (AnnImageObject)

Summary

Serializes the object to an XML document.

Syntax

C#
VB
Java
WinRT C#
public override void Serialize(  
   Leadtools.Annotations.Core.AnnSerializeOptions options, 
   XmlNode parentNode, 
   XmlDocument document 
) 
Public Overrides Sub Serialize( _ 
   ByVal options As Leadtools.Annotations.Core.AnnSerializeOptions, _ 
   ByVal parentNode As XmlNode, _ 
   ByVal document As XmlDocument _ 
) 
public override void Serialize(  
   Leadtools.Annotations.Core.AnnSerializeOptions options, 
   XmlNode parentNode, 
   XmlDocument document 
) 
@Override public void serialize( 
   AnnSerializeOptions options, 
   Node parentNode, 
   Document document 
) 
function Leadtools.Annotations.Core.AnnImageObject.Serialize(  
   options , 
   parentNode , 
   document  
) 

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

Note:The Serialize and Deserialize methods have different signatures for WinRT and WinRTPhone. Refer to the following:

WinRT

public override void Serialize(AnnSerializeOptions options, IXmlNode parentNode, XmlDocument document) 
public override void Deserialize(AnnDeserializeOptions options, XmlNode element, XmlDocument document) 

WinRTPhone

public override void Serialize(AnnSerializeOptions options, XNode parentNode, XDocument document) 
public override void Deserialize(AnnDeserializeOptions options, XNode element, XDocument document) 

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize