LEADTOOLS WinRT (Leadtools.Annotations.Core)
LEAD Technologies, Inc

SerializeObject Event


Event that triggers when an annotation object is being saved. WinRT support
Syntax
public event EventHandler<AnnSerializeObjectEventArgs> SerializeObject
add_SerializeObject(function(sender, e))
remove_SerializeObject(function(sender, e))

Event Data

The event handler receives an argument of type AnnSerializeObjectEventArgs containing data related to this event. The following AnnSerializeObjectEventArgs properties provide information specific to this event.

PropertyDescription
AnnObject Gets or sets the annotation object being loaded or saved. WinRT support
Error Gets the error that has occurred during loading or saving annotation objects. WinRT support
SkipObject Gets or sets a value that indicate whether to skip loading or saving an annotation object. WinRT support
TypeName Gets the type name of the annotation object being loaded or saved. WinRT support
Remarks
AnnSerializeObjectEventArgs

This event will trigger once for each annotation object being saved with the AnnSerializeObjectEventArgs event data members containing the following:

Member Description
TypeName

The type name of the AnnObject being saved.

AnnObject

The AnnObject being saved.

SkipObject

Set to false. You can change this value to true to skip saving this object and continue to the next.

Example

For an example, refer to AnnSerializeOptions

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnSerializeOptions Class
AnnSerializeOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.