Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Core)

AnnObject Property (AnnSerializeObjectEventArgs)

Show in webframe
Gets or sets the annotation object being loaded or saved.
Syntax
get_annObject();
set_annObject(value);
Object.defineProperty('annObject');

Property Value

TypeDescription
AnnObjectThe annotation object being loaded or saved.
Remarks

If this object is triggered with the AnnDeserializeOptions.DeserializeObject event, then the value of this property contains null and the object type name being saved is in TypeName. You have the following course of action:

If this object is triggered with the AnnDeserializeOptions.DeserializeObjectError event, then the value of this property is null and means AnnCodecs could not create the instance of an object of type TypeName. If it is possible to create AnnObject yourself in this situation, then set its instance to AnnObject to allow the codecs object to continue loading its properties. Another option is to set SkipObject to true to instruct AnnCodecs to ignore the error, skip loading this object and continue to the next.

If this object is triggered with the AnnSerializeOptions.SerializeObject event, then the value of this property is null and is not used.

Example

For an example, refer to AnnSerializeOptions and AnnDeserializeOptions.

See Also

Reference

AnnSerializeObjectEventArgs Object
AnnSerializeObjectEventArgs Members

Error processing SSI file