add_deserializeObjectError(function(sender, e)) remove_deserializeObjectError(function(sender, e))
!MISSING Scrap '_RTJavaScript_Event_SYNTAX'!
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. |
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.
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |
e | AnnSerializeObjectEventArgs | The event data. |