Represents the event to trigger when an error occurs during loading an annotation object.
public event EventHandler<AnnSerializeObjectEventArgs> DeserializeObjectErrorPublic Event DeserializeObjectError As EventHandler(Of AnnSerializeObjectEventArgs)public event EventHandler<AnnSerializeObjectEventArgs> DeserializeObjectErrorpublic void addDeserializeObjectErrorListener(AnnSerializeObjectListener listener)public void removeDeserializeObjectErrorListener(AnnSerializeObjectListener listener)
add_DeserializeObjectError(function(sender, e))remove_DeserializeObjectError(function(sender, e))
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.
| Property | Description |
|---|---|
| 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. |
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. |
For an example, refer to AnnDeserializeOptions.
|
Products |
Support |
Feedback: DeserializeObjectError Event - Leadtools.Annotations.Core |
Introduction |
Help Version 19.0.2017.3.22
|

Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.