←Select platform

DeserializeObjectError Event

Summary

Represents the event to trigger when an error occurs during loading an annotation object.

Syntax
C#
VB
C++
Java
public event EventHandler<AnnSerializeObjectEventArgs> DeserializeObjectError 
Public Event DeserializeObjectError As EventHandler(Of AnnSerializeObjectEventArgs) 
public void addDeserializeObjectErrorListener(AnnSerializeObjectListener listener) 
public void removeDeserializeObjectErrorListener(AnnSerializeObjectListener listener) 
public:  
   event EventHandler<AnnSerializeObjectEventArgs^>^ DeserializeObjectError 

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 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.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. 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.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly