(Leadtools.Annotations.Core)

DeserializeObject Event

Show in webframe





Represents the event to trigger for each annotation object being loaded.
Syntax
public event EventHandler<AnnSerializeObjectEventArgs> DeserializeObject
Public Event DeserializeObject As EventHandler(Of AnnSerializeObjectEventArgs)
public event EventHandler<AnnSerializeObjectEventArgs> DeserializeObject
@property (nonatomic,assign) id<LTAnnDeserializeObjectDelegate> delegate;
public void addDeserializeObjectListener(AnnSerializeObjectListener listener)
public void removeDeserializeObjectListener(AnnSerializeObjectListener listener)
            
add_DeserializeObject(function(sender, e))
remove_DeserializeObject(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.
Error Gets the error that has occurred during loading or saving annotation objects.
SkipObject Gets or sets a value that indicate whether to skip loading or saving an annotation object.
TypeName Gets the type name of the annotation object being loaded or saved.
Remarks
AnnSerializeObjectEventArgs

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

Member Description
AnnSerializeObjectEventArgs.TypeName

The type name of the AnnObject being loaded.

AnnSerializeObjectEventArgs.AnnObject

The AnnObject being loaded.

AnnSerializeObjectEventArgs.SkipObject

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

Example

For an example, refer to AnnDeserializeOptions.

Requirements

Target Platforms

See Also

Reference

AnnDeserializeOptions Class
AnnDeserializeOptions Members

 

 


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