Error processing SSI file
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))
    

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

Member Description
Error

The error that occurred.

TypeName

The type name of the AnnObject being loaded.

AnnObject

The AnnObject being loaded.

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
Error processing SSI file