LEADTOOLS JavaScript (Leadtools.Annotations.Core)

DeserializeObjectError Event

Show in webframe
Represents the event to trigger when an error occurs during loading an annotation object.
Syntax
add_deserializeObjectError(function(sender, e))
deserializeObjectError.add(function(sender, e))
remove_deserializeObjectError(function(sender, e))
deserializeObjectError.remove(function(sender, e))
    
Remarks

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

Member Description
AnnSerializeObjectEventArgs.Error

The error that occurred.

AnnSerializeObjectEventArgs.TypeName

The type name of the AnnObject being loaded.

AnnSerializeObjectEventArgs.AnnObject

The AnnObject being loaded.

AnnSerializeObjectEventArgs.SkipObject

Set to false. Change this value to true to skip loading this object and continue to the next.

Example

For an example, refer to AnnDeserializeOptions.

Event Data
Parameter Type Description
sender 'var' The source of the event.
e AnnSerializeObjectEventArgs The event data.
See Also

Reference

AnnDeserializeOptions Object
AnnDeserializeOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.