←Select platform

DeserializeObject Event

Summary

Represents the event to trigger for each annotation object being loaded.

Syntax
C#
VB
Java
Objective-C
C++
public event EventHandler<AnnSerializeObjectEventArgs> DeserializeObject 
Public Event DeserializeObject As EventHandler(Of AnnSerializeObjectEventArgs) 
@property (nonatomic,assign) id<LTAnnDeserializeObjectDelegate> delegate; 
public void addDeserializeObjectListener(AnnSerializeObjectListener listener) 
public void removeDeserializeObjectListener(AnnSerializeObjectListener listener) 
public:  
   event EventHandler<AnnSerializeObjectEventArgs^>^ DeserializeObject 

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.

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

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly